Class OauthClientConfigurationProperties.OpenIdClientConfigurationProperties.AuthorizationEndpointConfigurationProperties
- java.lang.Object
-
- io.micronaut.security.oauth2.configuration.endpoints.DefaultEndpointConfiguration
-
- io.micronaut.security.oauth2.configuration.OauthClientConfigurationProperties.OpenIdClientConfigurationProperties.AuthorizationEndpointConfigurationProperties
-
- All Implemented Interfaces:
AuthorizationEndpointConfiguration
,EndpointConfiguration
@ConfigurationProperties("authorization") public static class OauthClientConfigurationProperties.OpenIdClientConfigurationProperties.AuthorizationEndpointConfigurationProperties extends DefaultEndpointConfiguration implements AuthorizationEndpointConfiguration
Authorization endpoint configuration.
-
-
Constructor Summary
Constructors Constructor Description AuthorizationEndpointConfigurationProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<java.util.List<java.lang.String>>
getAcrValues()
java.util.Optional<Display>
getDisplay()
java.util.Optional<java.lang.Integer>
getMaxAge()
java.util.Optional<Prompt>
getPrompt()
java.util.Optional<java.lang.String>
getResponseMode()
ResponseType
getResponseType()
java.util.Optional<java.util.List<java.lang.String>>
getUiLocales()
void
setAcrValues(java.util.List<java.lang.String> acrValues)
Authentication class reference values.void
setDisplay(Display display)
Controls how the authentication interface is displayed.void
setMaxAge(java.lang.Integer maxAge)
Maximum authentication age.void
setPrompt(Prompt prompt)
Controls how the authentication server prompts the user.void
setResponseMode(java.lang.String responseMode)
Mechanism to be used for returning authorization response parameters from the authorization endpoint.void
setResponseType(ResponseType responseType)
Determines the authorization processing flow to be used.void
setUiLocales(java.util.List<java.lang.String> uiLocales)
Preferred locales for authentication.-
Methods inherited from class io.micronaut.security.oauth2.configuration.endpoints.DefaultEndpointConfiguration
getUrl, setUrl
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.micronaut.security.oauth2.configuration.endpoints.EndpointConfiguration
getUrl
-
-
-
-
Method Detail
-
getResponseType
@Nonnull public ResponseType getResponseType()
- Specified by:
getResponseType
in interfaceAuthorizationEndpointConfiguration
- Returns:
- Value that determines the authorization processing flow to be used
-
setResponseType
public void setResponseType(@Nonnull ResponseType responseType)
Determines the authorization processing flow to be used. Default value (code).- Parameters:
responseType
- The response type
-
getResponseMode
public java.util.Optional<java.lang.String> getResponseMode()
- Specified by:
getResponseMode
in interfaceAuthorizationEndpointConfiguration
- Returns:
- Mechanism to be used for returning Authorization Response parameters from the Authorization Endpoint.
-
setResponseMode
public void setResponseMode(@Nullable java.lang.String responseMode)
Mechanism to be used for returning authorization response parameters from the authorization endpoint.- Parameters:
responseMode
- The response mode
-
getDisplay
public java.util.Optional<Display> getDisplay()
- Specified by:
getDisplay
in interfaceAuthorizationEndpointConfiguration
- Returns:
- ASCII string value that specifies how the Authorization Server displays the authentication and consent user interface pages to the End-User.
-
setDisplay
public void setDisplay(@Nullable Display display)
Controls how the authentication interface is displayed.- Parameters:
display
- The display
-
getPrompt
public java.util.Optional<Prompt> getPrompt()
- Specified by:
getPrompt
in interfaceAuthorizationEndpointConfiguration
- Returns:
- Space delimited, case sensitive list of ASCII string values that specifies whether the Authorization Server prompts the End-User for reauthentication and consent.
-
setPrompt
public void setPrompt(@Nullable Prompt prompt)
Controls how the authentication server prompts the user.- Parameters:
prompt
- The prompt type
-
getMaxAge
public java.util.Optional<java.lang.Integer> getMaxAge()
- Specified by:
getMaxAge
in interfaceAuthorizationEndpointConfiguration
- Returns:
- Maximum Authentication Age.
-
setMaxAge
public void setMaxAge(@Nullable java.lang.Integer maxAge)
Maximum authentication age.- Parameters:
maxAge
- Maximum authentication age.
-
getUiLocales
public java.util.Optional<java.util.List<java.lang.String>> getUiLocales()
- Specified by:
getUiLocales
in interfaceAuthorizationEndpointConfiguration
- Returns:
- End-User's preferred languages and scripts for the user interface, represented as a space-separated list of BCP47 [RFC5646] language tag values, ordered by preference.
-
setUiLocales
public void setUiLocales(@Nullable java.util.List<java.lang.String> uiLocales)
Preferred locales for authentication.- Parameters:
uiLocales
- Preferred locales
-
getAcrValues
public java.util.Optional<java.util.List<java.lang.String>> getAcrValues()
- Specified by:
getAcrValues
in interfaceAuthorizationEndpointConfiguration
- Returns:
- Requested Authentication Context Class Reference values.
-
setAcrValues
public void setAcrValues(@Nullable java.util.List<java.lang.String> acrValues)
Authentication class reference values.- Parameters:
acrValues
- Authentication class reference values
-
-