UNPKG

session-expiration-alert

Version:

An Angular module to time session expiration. When user session idle time reaches a threshold, then pop up a modal dialog to let user choose to continue session or log out the system. When user session is expired, timer will stop and user will be logged o

6 lines (5 loc) 194 B
import { InjectionToken } from '@angular/core'; export interface SessionExpirationConfig { totalMinutes: number; } export declare const ConfigToken: InjectionToken<SessionExpirationConfig>;