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.
- Since:
- 0.1.1
- See Also:
-
OAuth2AuthorizationServerMetadataClaimAccessor
- 3.2. Authorization Server Metadata Response
- 4.2. OpenID Provider Configuration Response
- 4. Device Authorization Grant Metadata
- 3.3 Mutual-TLS Client Certificate-Bound Access Tokens Metadata
- 5.1 OAuth 2.0 Demonstrating Proof of Possession (DPoP) Metadata
- 5. OAuth 2.0 Pushed Authorization Requests Metadata
- Serialized Form
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static class
AbstractOAuth2AuthorizationServerMetadata.AbstractBuilder<T extends AbstractOAuth2AuthorizationServerMetadata,
B extends AbstractOAuth2AuthorizationServerMetadata.AbstractBuilder<T, B>> A builder for subclasses ofAbstractOAuth2AuthorizationServerMetadata
. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
-
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, 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:
getClaims
in interfaceorg.springframework.security.oauth2.core.ClaimAccessor
- Returns:
- a
Map
of the metadata as claims
-