UNPKG

react-session-control

Version:

Component to provide session control. It controls how long the user can be inactive and observes the storage checking for token existence.

4 lines (3 loc) 254 B
import UnauthenticatedSessionControl from "./UnauthenticatedSessionControl"; import AuthenticatedSessionControl, { LogoutTypes } from "./AuthenticatedSessionControl"; export { UnauthenticatedSessionControl, AuthenticatedSessionControl, LogoutTypes };