Interface OpenIdConfiguration
- All Known Implementing Classes:
OauthConfigurationProperties.OpenIdConfigurationProperties
public interface OpenIdConfiguration
Configuration for OpenID not specific to a client.
- Since:
- 1.2.0
- Author:
- James Kleeh
-
Method Summary
Modifier and TypeMethodDescriptionWhether the username of anAuthenticationbuilt from an OpenID provider response, by the defaultOpenIdAuthenticationMapperat login or by theUserInfoendpoint token validator, is qualified with the provider name, asproviderName:subject, instead of being the baresubclaim.
-
Method Details
-
getLogoutUri
String getLogoutUri()- Returns:
- the Callback Uri
-
getEndSession
Optional<EndSessionConfiguration> getEndSession()- Returns:
- Optional end session configuration
-
getClaimsValidation
OpenIdClaimsValidationConfiguration getClaimsValidation()- Returns:
- Claims validation configuration
-
getAdditionalClaims
OpenIdAdditionalClaimsConfiguration getAdditionalClaims()- Returns:
- Claims configuration
-
getQualifyUsernameWithProvider
Whether the username of anAuthenticationbuilt from an OpenID provider response, by the defaultOpenIdAuthenticationMapperat login or by theUserInfoendpoint token validator, is qualified with the provider name, asproviderName:subject, instead of being the baresubclaim. Thesubclaim is only unique within one provider, so an unqualified username lets a user at one provider share identity with a user at another provider which issued the samesub.- Returns:
trueto always qualify the username,falseto never qualify it, or empty to qualify only when more than one enabled OAuth 2.0 client, other than client-credentials-only clients, is configured undermicronaut.security.oauth2.clients- Since:
- 5.5.2
-