Interface OAuth2ClientMetadataClaimAccessor
- All Superinterfaces:
org.springframework.security.oauth2.core.ClaimAccessor
- All Known Subinterfaces:
OidcClientMetadataClaimAccessor
- All Known Implementing Classes:
AbstractOAuth2ClientRegistration, OAuth2ClientRegistration, OidcClientRegistration
public interface OAuth2ClientMetadataClaimAccessor
extends org.springframework.security.oauth2.core.ClaimAccessor
A
ClaimAccessor for the claims that are contained in the OAuth 2.0 Client
Registration Request and Response.- Since:
- 7.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondefault StringReturns the Client Identifier(client_id).default @Nullable InstantReturns the time at which the Client Identifier was issued(client_id_issued_at).default @Nullable StringReturns the name of the Client to be presented to the End-User(client_name).default @Nullable StringReturns the Client Secret(client_secret).default @Nullable InstantReturns the time at which theclient_secretwill expire(client_secret_expires_at).Returns the OAuth 2.0grant_typevalues that the Client will restrict itself to using(grant_types).default @Nullable URLReturns theURLfor the Client's JSON Web Key Set(jwks_uri).Returns the redirectionURIvalues used by the Client(redirect_uris).Returns the OAuth 2.0response_typevalues that the Client will restrict itself to using(response_types).Returns the OAuth 2.0scopevalues that the Client will restrict itself to using(scope).default @Nullable StringReturns the authentication method used by the Client for the Token Endpoint(token_endpoint_auth_method).Methods inherited from interface org.springframework.security.oauth2.core.ClaimAccessor
getClaim, getClaimAsBoolean, getClaimAsInstant, getClaimAsMap, getClaimAsString, getClaimAsStringList, getClaimAsURL, getClaims, hasClaim
-
Method Details
-
getClientId
Returns the Client Identifier(client_id).- Returns:
- the Client Identifier
-
getClientIdIssuedAt
Returns the time at which the Client Identifier was issued(client_id_issued_at).- Returns:
- the time at which the Client Identifier was issued
-
getClientSecret
Returns the Client Secret(client_secret).- Returns:
- the Client Secret
-
getClientSecretExpiresAt
Returns the time at which theclient_secretwill expire(client_secret_expires_at).- Returns:
- the time at which the
client_secretwill expire
-
getClientName
Returns the name of the Client to be presented to the End-User(client_name).- Returns:
- the name of the Client to be presented to the End-User
-
getRedirectUris
-
getTokenEndpointAuthenticationMethod
Returns the authentication method used by the Client for the Token Endpoint(token_endpoint_auth_method).- Returns:
- the authentication method used by the Client for the Token Endpoint
-
getGrantTypes
-
getResponseTypes
-
getScopes
-
getJwkSetUrl
Returns theURLfor the Client's JSON Web Key Set(jwks_uri).- Returns:
- the
URLfor the Client's JSON Web Key Set(jwks_uri)
-