Interface OAuth2AuthorizationServerMetadataClaimAccessor
- All Superinterfaces:
org.springframework.security.oauth2.core.ClaimAccessor
- All Known Subinterfaces:
OidcProviderMetadataClaimAccessor
- All Known Implementing Classes:
AbstractOAuth2AuthorizationServerMetadata
,OAuth2AuthorizationServerMetadata
,OidcProviderConfiguration
public interface OAuth2AuthorizationServerMetadataClaimAccessor
extends org.springframework.security.oauth2.core.ClaimAccessor
A
ClaimAccessor
for the "claims" an Authorization Server describes about its
configuration, used in OAuth 2.0 Authorization Server Metadata and OpenID Connect
Discovery 1.0.-
Method Summary
Modifier and TypeMethodDescriptiondefault URL
Returns theURL
of the OAuth 2.0 Authorization Endpoint(authorization_endpoint)
.default URL
Returns theURL
of the OAuth 2.0 Dynamic Client Registration Endpoint(registration_endpoint)
.Returns the Proof Key for Code Exchange (PKCE)code_challenge_method
values supported(code_challenge_methods_supported)
.default URL
Returns theURL
of the OAuth 2.0 Device Authorization Endpoint(device_authorization_endpoint)
.Returns the OAuth 2.0grant_type
values supported(grant_types_supported)
.default URL
Returns theURL
the Authorization Server asserts as its Issuer Identifier(issuer)
.default URL
Returns theURL
of the JSON Web Key Set(jwks_uri)
.Returns the OAuth 2.0response_type
values supported(response_types_supported)
.Returns the OAuth 2.0scope
values supported(scopes_supported)
.default URL
Returns theURL
of the OAuth 2.0 Token Endpoint(token_endpoint)
.Returns the client authentication methods supported by the OAuth 2.0 Token Endpoint(token_endpoint_auth_methods_supported)
.default URL
Returns theURL
of the OAuth 2.0 Token Introspection Endpoint(introspection_endpoint)
.Returns the client authentication methods supported by the OAuth 2.0 Token Introspection Endpoint(introspection_endpoint_auth_methods_supported)
.default URL
Returns theURL
of the OAuth 2.0 Token Revocation Endpoint(revocation_endpoint)
.Returns the client authentication methods supported by the OAuth 2.0 Token Revocation Endpoint(revocation_endpoint_auth_methods_supported)
.default boolean
Returnstrue
to indicate support for mutual-TLS client certificate-bound access tokens(tls_client_certificate_bound_access_tokens)
.Methods inherited from interface org.springframework.security.oauth2.core.ClaimAccessor
getClaim, getClaimAsBoolean, getClaimAsInstant, getClaimAsMap, getClaimAsString, getClaimAsStringList, getClaimAsURL, getClaims, hasClaim
-
Method Details
-
getIssuer
Returns theURL
the Authorization Server asserts as its Issuer Identifier(issuer)
.- Returns:
- the
URL
the Authorization Server asserts as its Issuer Identifier
-
getAuthorizationEndpoint
Returns theURL
of the OAuth 2.0 Authorization Endpoint(authorization_endpoint)
.- Returns:
- the
URL
of the OAuth 2.0 Authorization Endpoint
-
getDeviceAuthorizationEndpoint
Returns theURL
of the OAuth 2.0 Device Authorization Endpoint(device_authorization_endpoint)
.- Returns:
- the
URL
of the OAuth 2.0 Device Authorization Endpoint - Since:
- 1.1
-
getTokenEndpoint
Returns theURL
of the OAuth 2.0 Token Endpoint(token_endpoint)
.- Returns:
- the
URL
of the OAuth 2.0 Token Endpoint
-
getTokenEndpointAuthenticationMethods
Returns the client authentication methods supported by the OAuth 2.0 Token Endpoint(token_endpoint_auth_methods_supported)
.- Returns:
- the client authentication methods supported by the OAuth 2.0 Token Endpoint
-
getJwkSetUrl
Returns theURL
of the JSON Web Key Set(jwks_uri)
.- Returns:
- the
URL
of the JSON Web Key Set
-
getScopes
Returns the OAuth 2.0scope
values supported(scopes_supported)
.- Returns:
- the OAuth 2.0
scope
values supported
-
getResponseTypes
Returns the OAuth 2.0response_type
values supported(response_types_supported)
.- Returns:
- the OAuth 2.0
response_type
values supported
-
getGrantTypes
Returns the OAuth 2.0grant_type
values supported(grant_types_supported)
.- Returns:
- the OAuth 2.0
grant_type
values supported
-
getTokenRevocationEndpoint
Returns theURL
of the OAuth 2.0 Token Revocation Endpoint(revocation_endpoint)
.- Returns:
- the
URL
of the OAuth 2.0 Token Revocation Endpoint
-
getTokenRevocationEndpointAuthenticationMethods
Returns the client authentication methods supported by the OAuth 2.0 Token Revocation Endpoint(revocation_endpoint_auth_methods_supported)
.- Returns:
- the client authentication methods supported by the OAuth 2.0 Token Revocation Endpoint
-
getTokenIntrospectionEndpoint
Returns theURL
of the OAuth 2.0 Token Introspection Endpoint(introspection_endpoint)
.- Returns:
- the
URL
of the OAuth 2.0 Token Introspection Endpoint
-
getTokenIntrospectionEndpointAuthenticationMethods
Returns the client authentication methods supported by the OAuth 2.0 Token Introspection Endpoint(introspection_endpoint_auth_methods_supported)
.- Returns:
- the client authentication methods supported by the OAuth 2.0 Token Introspection Endpoint
-
getClientRegistrationEndpoint
Returns theURL
of the OAuth 2.0 Dynamic Client Registration Endpoint(registration_endpoint)
.- Returns:
- the
URL
of the OAuth 2.0 Dynamic Client Registration Endpoint - Since:
- 0.4.0
-
getCodeChallengeMethods
Returns the Proof Key for Code Exchange (PKCE)code_challenge_method
values supported(code_challenge_methods_supported)
.- Returns:
- the
code_challenge_method
values supported
-
isTlsClientCertificateBoundAccessTokens
default boolean isTlsClientCertificateBoundAccessTokens()Returnstrue
to indicate support for mutual-TLS client certificate-bound access tokens(tls_client_certificate_bound_access_tokens)
.- Returns:
true
to indicate support for mutual-TLS client certificate-bound access tokens,false
otherwise- Since:
- 1.3
-