Interface RefreshTokenConfiguration
- All Superinterfaces:
io.micronaut.core.util.Toggleable
- All Known Implementing Classes:
RefreshTokenConfigurationProperties
public interface RefreshTokenConfiguration
extends io.micronaut.core.util.Toggleable
Configuration for the
SignedRefreshTokenGenerator
.- Since:
- 2.0.0
- Author:
- James Kleeh, Sergio del Amo
-
Method Details
-
getJwsAlgorithm
@NonNull @NonNull com.nimbusds.jose.JWSAlgorithm getJwsAlgorithm()- Returns:
- JWS Algorithm
-
getSecret
- Returns:
- Secret used to sign the refresh token.
-
isBase64
boolean isBase64()- Returns:
- true if the secret is Base64 encoded
-