You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
This is the first time he has collaborated on a public project, so... be patient please! :-)
Proposal
I propose to:
add an option in the "JwtBearerSettings" named "EnableJwtBearerService" as a boolean parameter.
add "SimpleAuthenticationOptions" which contains 2 delegate methods "CreateAndGetRefreshTokenMethod" and "VerifyRefreshTokenMethod"
add to "AddSimpleAuthentication" extensions methods the "SimpleAuthenticationOptions" (maybe it can incorporate the configuration "sectionName" parameter?)
add 2 methods in "JwtBearerService" named "CreateTokenAndRefreshTokenAsync" and "RefreshTokenAsync"
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: