Implementations of this interface must provide a token generation strategy
| Type Params | Return Type | Name and description |
|---|---|---|
|
AccessToken |
generateAccessToken(org.springframework.security.core.userdetails.UserDetails principal)Generates a globally unique token. |
|
AccessToken |
generateAccessToken(org.springframework.security.core.userdetails.UserDetails principal, java.lang.Integer expiration)Generates a token with the given expiration |
Generates a globally unique token.
Generates a token with the given expiration
expiration - the expiration time in seconds