Class AbstractOAuth2AuthorizationServerMetadata
java.lang.Object
org.springframework.security.oauth2.server.authorization.AbstractOAuth2AuthorizationServerMetadata
- All Implemented Interfaces:
Serializable
,org.springframework.security.oauth2.core.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.
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected static class
AbstractOAuth2AuthorizationServerMetadata.AbstractBuilder<T extends AbstractOAuth2AuthorizationServerMetadata,
B extends AbstractOAuth2AuthorizationServerMetadata.AbstractBuilder<T, B>> A builder for subclasses ofAbstractOAuth2AuthorizationServerMetadata
. -
Constructor Summary
ModifierConstructorDescriptionprotected
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.security.oauth2.core.ClaimAccessor
getClaim, getClaimAsBoolean, getClaimAsInstant, getClaimAsMap, getClaimAsString, getClaimAsStringList, getClaimAsURL, hasClaim
Methods 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, isTlsClientCertificateBoundAccessTokens
-
Constructor Details
-
AbstractOAuth2AuthorizationServerMetadata
-
-
Method Details
-
getClaims
Returns the metadata as claims.- Specified by:
getClaims
in interfaceorg.springframework.security.oauth2.core.ClaimAccessor
- Returns:
- a
Map
of the metadata as claims
-