@ConfigurationProperties(value="micronaut.security.token.jwt.generator.access-token") public class AccessTokenConfigurationProperties extends java.lang.Object implements AccessTokenConfiguration
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_EXPIRATION
The default expiration.
|
static java.lang.String |
PREFIX |
Constructor and Description |
---|
AccessTokenConfigurationProperties() |
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
getExpiration() |
void |
setExpiration(java.lang.Integer expiration)
Access token expiration.
|
public static final java.lang.String PREFIX
public static final int DEFAULT_EXPIRATION
@NonNull public java.lang.Integer getExpiration()
getExpiration
in interface AccessTokenConfiguration
public void setExpiration(java.lang.Integer expiration)
expiration
- The expiration