Class AbstractOAuth2AuthorizationServerMetadata
java.lang.Object
org.springframework.security.oauth2.server.authorization.AbstractOAuth2AuthorizationServerMetadata
- All Implemented Interfaces:
Serializable, ClaimAccessor, OAuth2AuthorizationServerMetadataClaimAccessor
- Direct Known Subclasses:
OAuth2AuthorizationServerMetadata, OidcProviderConfiguration
public abstract class AbstractOAuth2AuthorizationServerMetadata
extends Object
implements OAuth2AuthorizationServerMetadataClaimAccessor, Serializable
A base representation of OAuth 2.0 Authorization Server metadata, returned by an
endpoint defined in OAuth 2.0 Authorization Server Metadata and OpenID Connect
Discovery 1.0. The metadata endpoint returns a set of claims an Authorization Server
describes about its configuration.
- Since:
- 7.0
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static classAbstractOAuth2AuthorizationServerMetadata.AbstractBuilder<T extends AbstractOAuth2AuthorizationServerMetadata, B extends AbstractOAuth2AuthorizationServerMetadata.AbstractBuilder<T,B>> A builder for subclasses ofAbstractOAuth2AuthorizationServerMetadata. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Methods 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, hasClaimMethods inherited from interface OAuth2AuthorizationServerMetadataClaimAccessor
getAuthorizationEndpoint, getClientRegistrationEndpoint, getCodeChallengeMethods, getDeviceAuthorizationEndpoint, getDPoPSigningAlgorithms, getGrantTypes, getIssuer, getJwkSetUrl, getPushedAuthorizationRequestEndpoint, getResponseTypes, getScopes, getTokenEndpoint, getTokenEndpointAuthenticationMethods, getTokenIntrospectionEndpoint, getTokenIntrospectionEndpointAuthenticationMethods, getTokenRevocationEndpoint, getTokenRevocationEndpointAuthenticationMethods, isTlsClientCertificateBoundAccessTokens
-
Constructor Details
-
AbstractOAuth2AuthorizationServerMetadata
-
-
Method Details
-
getClaims
Returns the metadata as claims.- Specified by:
getClaimsin interfaceClaimAccessor- Returns:
- a
Mapof the metadata as claims
-