Class OidcProviderConfiguration
java.lang.Object
org.springframework.security.oauth2.server.authorization.AbstractOAuth2AuthorizationServerMetadata
org.springframework.security.oauth2.server.authorization.oidc.OidcProviderConfiguration
- All Implemented Interfaces:
Serializable, ClaimAccessor, OAuth2AuthorizationServerMetadataClaimAccessor, OidcProviderMetadataClaimAccessor
public final class OidcProviderConfiguration
extends AbstractOAuth2AuthorizationServerMetadata
implements OidcProviderMetadataClaimAccessor
A representation of an OpenID Provider Configuration Response, which is returned from
an Issuer's Discovery Endpoint, and contains a set of claims about the OpenID
Provider's configuration. The claims are defined by the OpenID Connect Discovery 1.0
specification.
- Since:
- 7.0
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelps configure anOidcProviderConfiguration.Nested classes/interfaces inherited from class AbstractOAuth2AuthorizationServerMetadata
AbstractOAuth2AuthorizationServerMetadata.AbstractBuilder<T,B> -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Constructs a newOidcProviderConfiguration.Builderwith empty claims.withClaims(Map<String, Object> claims) Constructs a newOidcProviderConfiguration.Builderwith the provided claims.Methods inherited from class AbstractOAuth2AuthorizationServerMetadata
getClaimsMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ClaimAccessor
getClaim, getClaimAsBoolean, getClaimAsInstant, getClaimAsMap, getClaimAsString, getClaimAsStringList, getClaimAsURL, getClaims, hasClaimMethods inherited from interface OAuth2AuthorizationServerMetadataClaimAccessor
getAuthorizationEndpoint, getClientRegistrationEndpoint, getCodeChallengeMethods, getDeviceAuthorizationEndpoint, getDPoPSigningAlgorithms, getGrantTypes, getIssuer, getJwkSetUrl, getPushedAuthorizationRequestEndpoint, getResponseTypes, getScopes, getTokenEndpoint, getTokenEndpointAuthenticationMethods, getTokenIntrospectionEndpoint, getTokenIntrospectionEndpointAuthenticationMethods, getTokenRevocationEndpoint, getTokenRevocationEndpointAuthenticationMethods, isTlsClientCertificateBoundAccessTokensMethods inherited from interface OidcProviderMetadataClaimAccessor
getEndSessionEndpoint, getIdTokenSigningAlgorithms, getSubjectTypes, getUserInfoEndpoint
-
Method Details
-
builder
Constructs a newOidcProviderConfiguration.Builderwith empty claims.- Returns:
- the
OidcProviderConfiguration.Builder
-
withClaims
Constructs a newOidcProviderConfiguration.Builderwith the provided claims.- Parameters:
claims- the claims to initialize the builder- Returns:
- the
OidcProviderConfiguration.Builder
-