@ConfigurationProperties(value="micronaut.security.oauth2.authorization") public class AuthorizationEndpointConfigurationProperties extends java.lang.Object implements AuthorizationEndpoint, AuthorizationEndpointRequestConfiguration
ConfigurationProperties
for OAuth 2.0 authorization endpoint.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_RESPONSEMODE
Default response mode.
|
static java.lang.String |
DEFAULT_RESPONSETYPE
Default response type.
|
static java.util.List<java.lang.String> |
DEFAULT_SCOPE
Default scope.
|
static java.lang.String |
PREFIX |
Constructor and Description |
---|
AuthorizationEndpointConfigurationProperties() |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
getAcrValues() |
Display |
getDisplay() |
java.lang.Integer |
getMaxAge() |
Prompt |
getPrompt() |
java.lang.String |
getRedirectUri() |
java.lang.String |
getResponseMode() |
java.lang.String |
getResponseType() |
java.util.List<java.lang.String> |
getScopes() |
java.util.List<java.lang.String> |
getUiLocales() |
java.lang.String |
getUrl() |
void |
setAcrValues(java.util.List<java.lang.String> acrValues)
Requested Authentication Context Class Reference values.
|
void |
setDisplay(Display display)
ASCII string value that specifies how the Authorization Server displays the authentication and consent user interface pages to the End-User.
|
void |
setMaxAge(java.lang.Integer maxAge)
Maximum Authentication Age.
|
void |
setPrompt(Prompt prompt)
Space delimited, case sensitive list of ASCII string values that specifies whether the Authorization Server prompts the End-User for reauthentication and consent.
|
void |
setRedirectUri(java.lang.String redirectUri)
Redirection URI to which the response will be sent.
|
void |
setResponseMode(java.lang.String responseMode)
Informs the Authorization Server of the mechanism to be used for returning parameters from the Authorization Endpoint.
|
void |
setResponseType(java.lang.String responseType)
Set OAuth 2.0 Response Type.
|
void |
setScopes(java.util.List<java.lang.String> scopes)
Sets OAuth 2.0 scopes.
|
void |
setUiLocales(java.util.List<java.lang.String> uiLocales)
End-User's preferred languages and scripts for the user interface.
|
void |
setUrl(java.lang.String url) |
public static final java.lang.String PREFIX
public static final java.lang.String DEFAULT_RESPONSETYPE
public static final java.lang.String DEFAULT_RESPONSEMODE
public static final java.util.List<java.lang.String> DEFAULT_SCOPE
public AuthorizationEndpointConfigurationProperties()
@Nullable public java.lang.String getUrl()
public void setUrl(@Nullable java.lang.String url)
url
- the authorization endpoint's url.@Nonnull public java.util.List<java.lang.String> getScopes()
getScopes
in interface AuthorizationEndpointRequestConfiguration
public void setScopes(@Nonnull java.util.List<java.lang.String> scopes)
scopes
- OAuth 2.0 scopes.@Nonnull public java.lang.String getResponseType()
getResponseType
in interface AuthorizationEndpointRequestConfiguration
public void setResponseType(@Nonnull java.lang.String responseType)
responseType
- OAuth 2.0 Response Type.@Nullable public java.lang.String getRedirectUri()
getRedirectUri
in interface AuthorizationEndpointRequestConfiguration
public void setRedirectUri(java.lang.String redirectUri)
redirectUri
- Redirection URI to which the response will be sent.@Nullable public java.lang.String getResponseMode()
getResponseMode
in interface AuthorizationEndpointRequestConfiguration
public void setResponseMode(@Nullable java.lang.String responseMode)
responseMode
- Informs the authorization server of the mechanism to be used for returning parameters from the authorization endpoint. Allows null because the spec says "The use of this parameter is NOT RECOMMENDED when the Response Mode that would be requested is the default mode specified for the Response Type".@Nullable public Display getDisplay()
getDisplay
in interface AuthorizationEndpointRequestConfiguration
public void setDisplay(@Nullable Display display)
display
- ASCII string value that specifies how the Authorization Server displays the authentication and consent user interface pages to the End-User.@Nullable public Prompt getPrompt()
getPrompt
in interface AuthorizationEndpointRequestConfiguration
public void setPrompt(@Nullable Prompt prompt)
prompt
- Space delimited, case sensitive list of ASCII string values that specifies whether the Authorization Server prompts the End-User for reauthentication and consent.@Nullable public java.lang.Integer getMaxAge()
getMaxAge
in interface AuthorizationEndpointRequestConfiguration
public void setMaxAge(@Nullable java.lang.Integer maxAge)
maxAge
- Maximum Authentication Age.@Nullable public java.util.List<java.lang.String> getUiLocales()
getUiLocales
in interface AuthorizationEndpointRequestConfiguration
public void setUiLocales(@Nullable java.util.List<java.lang.String> uiLocales)
uiLocales
- End-User's preferred languages and scripts for the user interface@Nullable public java.util.List<java.lang.String> getAcrValues()
getAcrValues
in interface AuthorizationEndpointRequestConfiguration
public void setAcrValues(@Nullable java.util.List<java.lang.String> acrValues)
acrValues
- Requested Authentication Context Class Reference values.