Class OidcProviderConfiguration
java.lang.Object
org.springframework.security.oauth2.server.authorization.AbstractOAuth2AuthorizationServerMetadata
org.springframework.security.oauth2.server.authorization.oidc.OidcProviderConfiguration
- All Implemented Interfaces:
Serializable,org.springframework.security.oauth2.core.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.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelps configure anOidcProviderConfiguration.Nested classes/interfaces inherited from class org.springframework.security.oauth2.server.authorization.AbstractOAuth2AuthorizationServerMetadata
AbstractOAuth2AuthorizationServerMetadata.AbstractBuilder<T extends AbstractOAuth2AuthorizationServerMetadata,B extends 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 org.springframework.security.oauth2.server.authorization.AbstractOAuth2AuthorizationServerMetadata
getClaimsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.security.oauth2.core.ClaimAccessor
getClaim, getClaimAsBoolean, getClaimAsInstant, getClaimAsMap, getClaimAsString, getClaimAsStringList, getClaimAsURL, getClaims, hasClaimMethods inherited from interface org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationServerMetadataClaimAccessor
getAuthorizationEndpoint, getClientRegistrationEndpoint, getCodeChallengeMethods, getDeviceAuthorizationEndpoint, getGrantTypes, getIssuer, getJwkSetUrl, getResponseTypes, getScopes, getTokenEndpoint, getTokenEndpointAuthenticationMethods, getTokenIntrospectionEndpoint, getTokenIntrospectionEndpointAuthenticationMethods, getTokenRevocationEndpoint, getTokenRevocationEndpointAuthenticationMethods, isTlsClientCertificateBoundAccessTokensMethods inherited from interface org.springframework.security.oauth2.server.authorization.oidc.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
-