Class DefaultTokenRefresher
Minimal lead play to clarify the token refresh. Here we only check the expiry time. In a real environment, the client has to carry out this check. It is strongly recommended to implement the interface and logic yourself because withdrawn and blocked accesses are not handled at all.
public class DefaultTokenRefresher : IJwtTokenRefresh
- Inheritance
-
DefaultTokenRefresher
- Implements
- Inherited Members
Methods
- GetJwtTokenAsync()
Issues a Jwt. Here you can check beforehand whether the process criteria have been met or whether the jwt is invalid. The default implementation checks for the expiration date.