@ConfigurationProperties(value="micronaut.security.oauth2.openid.nonce") public class DefaultNonceConfiguration extends java.lang.Object implements NonceConfiguration
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PREFIX |
Constructor and Description |
---|
DefaultNonceConfiguration() |
Modifier and Type | Method and Description |
---|---|
java.util.Optional<java.lang.String> |
getPersistence() |
boolean |
isEnabled() |
void |
setEnabled(boolean enabled)
Sets whether a nonce parameter will be sent.
|
void |
setPersistence(java.lang.String persistence)
Sets the mechanism to persist the nonce for later retrieval for validation.
|
public static final java.lang.String PREFIX
public java.util.Optional<java.lang.String> getPersistence()
getPersistence
in interface NonceConfiguration
public void setPersistence(java.lang.String persistence)
persistence
- The persistence mechanismpublic boolean isEnabled()
isEnabled
in interface io.micronaut.core.util.Toggleable
public void setEnabled(boolean enabled)
enabled
- The enabled flag