Class OauthConfigurationProperties.OpenIdConfigurationProperties
java.lang.Object
io.micronaut.security.oauth2.configuration.OauthConfigurationProperties.OpenIdConfigurationProperties
- All Implemented Interfaces:
OpenIdConfiguration
- Enclosing class:
- OauthConfigurationProperties
@ConfigurationProperties("openid")
public static class OauthConfigurationProperties.OpenIdConfigurationProperties
extends Object
implements OpenIdConfiguration
OpenID configuration.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Claims configuration.static class
Claims Validator configuration.static class
End session configuration. -
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setAdditionalClaims
(OauthConfigurationProperties.OpenIdConfigurationProperties.AdditionalClaimsConfigurationProperties claims) void
setClaimsValidation
(OauthConfigurationProperties.OpenIdConfigurationProperties.ClaimsValidationConfigurationProperties claimsValidator) void
setEndSession
(OauthConfigurationProperties.OpenIdConfigurationProperties.EndSessionConfigurationProperties endSession) The end session configuration.void
setLogoutUri
(String logoutUri) The URI used to log out of an OpenID provider.
-
Field Details
-
PREFIX
- See Also:
-
-
Constructor Details
-
OpenIdConfigurationProperties
public OpenIdConfigurationProperties()
-
-
Method Details
-
getLogoutUri
- Specified by:
getLogoutUri
in interfaceOpenIdConfiguration
- Returns:
- the Callback Uri
-
setLogoutUri
The URI used to log out of an OpenID provider. Default value ("/oauth/logout").- Parameters:
logoutUri
- The logout uri
-
getEndSession
- Specified by:
getEndSession
in interfaceOpenIdConfiguration
- Returns:
- Optional end session configuration
-
setEndSession
public void setEndSession(OauthConfigurationProperties.OpenIdConfigurationProperties.EndSessionConfigurationProperties endSession) The end session configuration.- Parameters:
endSession
- The end session configuration
-
getClaimsValidation
public OauthConfigurationProperties.OpenIdConfigurationProperties.ClaimsValidationConfigurationProperties getClaimsValidation()- Specified by:
getClaimsValidation
in interfaceOpenIdConfiguration
- Returns:
- Claims Validator Configuration
-
setClaimsValidation
public void setClaimsValidation(OauthConfigurationProperties.OpenIdConfigurationProperties.ClaimsValidationConfigurationProperties claimsValidator) - Parameters:
claimsValidator
- Claims Validator Configuration
-
getAdditionalClaims
public OauthConfigurationProperties.OpenIdConfigurationProperties.AdditionalClaimsConfigurationProperties getAdditionalClaims()- Specified by:
getAdditionalClaims
in interfaceOpenIdConfiguration
- Returns:
- Claims configuration
-
setAdditionalClaims
public void setAdditionalClaims(OauthConfigurationProperties.OpenIdConfigurationProperties.AdditionalClaimsConfigurationProperties claims) - Parameters:
claims
- The Claims Configuration
-