The service provider for token generation. Initialized as singleton by the application builder.
More...
The service provider for token generation. Initialized as singleton by the application builder.
◆ GenerateNewToken()
string NookpostBackend.Authentication.TokenService.GenerateNewToken |
( |
User | user | ) |
|
|
inline |
Generate a new token for a user.
- Parameters
-
user | The user to generate the token for. |
◆ AccessTokenExpiryTimeInSeconds
const int NookpostBackend.Authentication.TokenService.AccessTokenExpiryTimeInSeconds = 1209600 |
|
static |
The time set for access token expiry after it has been issued.
The documentation for this class was generated from the following file: