-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Token Expire Time Management #1
Comments
Persist expireDelta = Delta (expire interval value) to the database. And write it in redis at the same time. If the user is calling the web API frequently and at intervals < Delta., it can access the API normally all the time without being blocked to the login window. If curentTime < endTime, let the request go ahead. Just like QQ login. If you log in every day, you can log in automatically. If you don't log in for 2 months, you need to re-enter your password to log in. Thank you for your support! |
Quick response ! Got it. Thanks ! |
Yes, this is one option |
Do you have any idea for the managment of token expire?
The text was updated successfully, but these errors were encountered: