-
Notifications
You must be signed in to change notification settings - Fork 27
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
Add Refresh Token Implementation #47
Comments
This is the first time he has collaborated on a public project, so... be patient please! :-) ProposalI propose to:
I've made an implementation in this repository: https://github.com/Valecass/SimpleAuthentication/tree/RefreshTokenImplementation How to use1 - Add the options when AddSimpleAuthentication is called, with the "CreateAndGetRefreshTokenMethod" and "VerifyRefreshTokenMethod" implementation:
2 - Add "LoginWithRefreshTokenAsync" in IdentityController
3 - Add "RefreshWithRefreshTokenAsync" method in IdentityController
5 - Enjoy! What do you think? |
There is no feature to have a refresh token during the login phase.
It would be nice to have a configurable parameter in the settings that enables the functionality.
If it is enabled, the methods for saving and verifying the valid refresh token could be added through extension methods.
The text was updated successfully, but these errors were encountered: