Token service Implements the ITokenService interface
Generates a new token
The data to encode in the token
The token expiration time
The generated token
Gets the data from an access token
The access token
The token data
If the token is not provided
If the token is invalid
If the token is expired
Generates a new access token
The refresh token
The new access token
If the refresh token is invalid
If the refresh token is expired
Validates an access token
Whether the token is valid
Token service Implements the ITokenService interface