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 AuthorizationEndpointConfigurationAuthorization 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()ResponseTypegetResponseType()java.util.Optional<java.util.List<java.lang.String>>getUiLocales()voidsetAcrValues(java.util.List<java.lang.String> acrValues)Authentication class reference values.voidsetDisplay(Display display)Controls how the authentication interface is displayed.voidsetMaxAge(java.lang.Integer maxAge)Maximum authentication age.voidsetPrompt(Prompt prompt)Controls how the authentication server prompts the user.voidsetResponseMode(java.lang.String responseMode)Mechanism to be used for returning authorization response parameters from the authorization endpoint.voidsetResponseType(ResponseType responseType)Determines the authorization processing flow to be used.voidsetUiLocales(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:
getResponseTypein 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:
getResponseModein 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:
getDisplayin 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:
getPromptin 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:
getMaxAgein 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:
getUiLocalesin 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:
getAcrValuesin 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
-
-