@ConfigurationProperties(value="micronaut.security.oauth2.pkce") public class PkceConfigurationProperties extends java.lang.Object implements PkceConfiguration
| Modifier and Type | Field and Description |
|---|---|
static boolean |
DEFAULT_ENABLED
The default enable value.
|
static java.lang.String |
PERSISTENCE_COOKIE |
static java.lang.String |
PERSISTENCE_SESSION |
static java.lang.String |
PREFIX |
| Constructor and Description |
|---|
PkceConfigurationProperties() |
| Modifier and Type | Method and Description |
|---|---|
int |
getEntropy() |
java.util.Optional<java.lang.String> |
getPersistence() |
boolean |
isEnabled() |
void |
setEnabled(boolean enabled)
Sets whether a state parameter will be sent.
|
void |
setEntropy(int entropy)
entropy (in bytes) used for the code verifier generation.
|
void |
setPersistence(java.lang.String persistence)
Sets the mechanism to persist the state for later retrieval for validation.
|
public static final java.lang.String PREFIX
public static final boolean DEFAULT_ENABLED
public static final java.lang.String PERSISTENCE_COOKIE
public static final java.lang.String PERSISTENCE_SESSION
public int getEntropy()
getEntropy in interface PkceConfigurationpublic void setEntropy(int entropy)
entropy - entropy (in bytes) used for the code verifier.@NonNull public java.util.Optional<java.lang.String> getPersistence()
getPersistence in interface PersistableConfigurationpublic void setPersistence(java.lang.String persistence)
persistence - The persistence mechanismpublic boolean isEnabled()
isEnabled in interface io.micronaut.core.util.Toggleablepublic void setEnabled(boolean enabled)
enabled - The enabled flag