Class AbstractOAuth2ClientRegistration
java.lang.Object
org.springframework.security.oauth2.server.authorization.AbstractOAuth2ClientRegistration
- All Implemented Interfaces:
Serializable, ClaimAccessor, OAuth2ClientMetadataClaimAccessor
- Direct Known Subclasses:
OAuth2ClientRegistration, OidcClientRegistration
public abstract class AbstractOAuth2ClientRegistration
extends Object
implements OAuth2ClientMetadataClaimAccessor, Serializable
A base representation of an OAuth 2.0 Client Registration Request and Response, which
is sent to and returned from the Client Registration Endpoint, and contains a set of
claims about the Client's Registration information. The claims are defined by the OAuth
2.0 Dynamic Client Registration Protocol specification.
- Since:
- 7.0
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static classAbstractOAuth2ClientRegistration.AbstractBuilder<T extends AbstractOAuth2ClientRegistration, B extends AbstractOAuth2ClientRegistration.AbstractBuilder<T,B>> A builder for subclasses ofAbstractOAuth2ClientRegistration. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractOAuth2ClientRegistration(Map<String, Object> claims) -
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 OAuth2ClientMetadataClaimAccessor
getClientId, getClientIdIssuedAt, getClientName, getClientSecret, getClientSecretExpiresAt, getGrantTypes, getJwkSetUrl, getRedirectUris, getResponseTypes, getScopes, getTokenEndpointAuthenticationMethod
-
Constructor Details
-
AbstractOAuth2ClientRegistration
-
-
Method Details
-
getClaims
Returns the metadata as claims.- Specified by:
getClaimsin interfaceClaimAccessor- Returns:
- a
Mapof the metadata as claims
-