-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Use the last time an API request was made to determine if the session token is about to expire. - Use a setTimeout loop to keep the countdown up to date, not to actually trigger the logout. - Use IdleJS to determine if the user has been inactive for 15 minutes. - Separate messages for client side inactivity and an expiring session token.
- Loading branch information
Showing
1 changed file
with
99 additions
and
106 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters