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 TypeMethodDescriptionvoid
setAcrValues
(List<String> acrValues) Authentication class reference values.void
setCodeChallengeMethod
(String codeChallengeMethod) Code Challenge Method to use for PKCE.void
setDisplay
(Display display) Controls how the authentication interface is displayed.void
Maximum authentication age.void
Controls how the authentication server prompts the user.void
setResponseMode
(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
(List<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
-
Constructor Details
-
AuthorizationEndpointConfigurationProperties
public AuthorizationEndpointConfigurationProperties()
-
-
Method Details
-
getResponseType
- Specified by:
getResponseType
in 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:
getResponseMode
in 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:
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
Controls how the authentication interface is displayed.- Parameters:
display
- The display
-
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
Controls how the authentication server prompts the user.- Parameters:
prompt
- The prompt type
-
getMaxAge
- Specified by:
getMaxAge
in interfaceAuthorizationEndpointConfiguration
- Returns:
- Maximum Authentication Age.
-
setMaxAge
Maximum authentication age.- Parameters:
maxAge
- Maximum authentication age.
-
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
Preferred locales for authentication.- Parameters:
uiLocales
- Preferred locales
-
getAcrValues
- Specified by:
getAcrValues
in interfaceAuthorizationEndpointConfiguration
- Returns:
- Requested Authentication Context Class Reference values.
-
getCodeChallengeMethod
- Specified by:
getCodeChallengeMethod
in 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
-