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,OauthAuthorizationEndpointConfiguration
@ConfigurationProperties("authorization")
public static class OauthClientConfigurationProperties.OpenIdClientConfigurationProperties.AuthorizationEndpointConfigurationProperties
extends DefaultEndpointConfiguration
implements AuthorizationEndpointConfiguration
Authorization endpoint configuration.
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescription@NonNull ResponseTypevoidsetAcrValues(@Nullable List<String> acrValues) Authentication class reference values.voidsetCodeChallengeMethod(@Nullable String codeChallengeMethod) Code Challenge Method to use for PKCE.voidsetDisplay(@Nullable Display display) Controls how the authentication interface is displayed.voidMaximum authentication age.voidControls how the authentication server prompts the user.voidsetResponseMode(@Nullable String responseMode) Mechanism to be used for returning authorization response parameters from the authorization endpoint.voidsetResponseType(@NonNull ResponseType responseType) Determines the authorization processing flow to be used.voidsetUiLocales(@Nullable List<String> uiLocales) Preferred locales for authentication.Methods inherited from class io.micronaut.security.oauth2.configuration.endpoints.DefaultEndpointConfiguration
getUrl, setUrlMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.micronaut.security.oauth2.configuration.endpoints.EndpointConfiguration
getUrl 
- 
Constructor Details
- 
AuthorizationEndpointConfigurationProperties
public AuthorizationEndpointConfigurationProperties() 
 - 
 - 
Method Details
- 
getResponseType
- Specified by:
 getResponseTypein interfaceAuthorizationEndpointConfiguration- Returns:
 - Value that determines the authorization processing flow to be used
 
 - 
setResponseType
Determines the authorization processing flow to be used. Default value (code).- Parameters:
 responseType- The response type
 - 
getResponseMode
- Specified by:
 getResponseModein interfaceAuthorizationEndpointConfiguration- Returns:
 - Mechanism to be used for returning Authorization Response parameters from the Authorization Endpoint.
 
 - 
setResponseMode
Mechanism to be used for returning authorization response parameters from the authorization endpoint.- Parameters:
 responseMode- The response mode
 - 
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
Controls how the authentication interface is displayed.- Parameters:
 display- The display
 - 
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
Controls how the authentication server prompts the user.- Parameters:
 prompt- The prompt type
 - 
getMaxAge
- Specified by:
 getMaxAgein interfaceAuthorizationEndpointConfiguration- Returns:
 - Maximum Authentication Age.
 
 - 
setMaxAge
Maximum authentication age.- Parameters:
 maxAge- Maximum authentication age.
 - 
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
Preferred locales for authentication.- Parameters:
 uiLocales- Preferred locales
 - 
getAcrValues
- Specified by:
 getAcrValuesin interfaceAuthorizationEndpointConfiguration- Returns:
 - Requested Authentication Context Class Reference values.
 
 - 
getCodeChallengeMethod
- Specified by:
 getCodeChallengeMethodin interfaceOauthAuthorizationEndpointConfiguration- Returns:
 - Code challenge method to use for PKCE.
 
 - 
setCodeChallengeMethod
Code Challenge Method to use for PKCE.- Parameters:
 codeChallengeMethod- Code Challenge Method
 - 
setAcrValues
Authentication class reference values.- Parameters:
 acrValues- Authentication class reference values
 
 -