Interface OAuth2ProtectedResourceMetadataClaimAccessor
- All Superinterfaces:
ClaimAccessor
- All Known Implementing Classes:
OAuth2ProtectedResourceMetadata
A
ClaimAccessor for the claims a Resource Server describes about its
configuration, used in OAuth 2.0 Protected Resource Metadata.- Since:
- 7.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionReturns a list ofissueridentifierURL's, for authorization servers that can be used with this protected resource(authorization_servers).Returns a list of the supported methods for sending an OAuth 2.0 bearer token to the protected resource.default URLReturns theURLthe protected resource asserts as its resource identifier(resource).default @Nullable StringReturns the name of the protected resource intended for display to the end user(resource_name).Returns a list ofscopevalues supported, that are used in authorization requests to request access to this protected resource(scopes_supported).default booleanReturnstrueto indicate protected resource support for mutual-TLS client certificate-bound access tokens(tls_client_certificate_bound_access_tokens).Methods inherited from interface ClaimAccessor
getClaim, getClaimAsBoolean, getClaimAsInstant, getClaimAsMap, getClaimAsString, getClaimAsStringList, getClaimAsURL, getClaims, hasClaim
-
Method Details
-
getResource
Returns theURLthe protected resource asserts as its resource identifier(resource).- Returns:
- the
URLthe protected resource asserts as its resource identifier
-
getAuthorizationServers
Returns a list ofissueridentifierURL's, for authorization servers that can be used with this protected resource(authorization_servers).- Returns:
- a list of
issueridentifierURL's, for authorization servers that can be used with this protected resource, or an empty list if not set
-
getScopes
-
getBearerMethodsSupported
Returns a list of the supported methods for sending an OAuth 2.0 bearer token to the protected resource. Defined values are "header", "body" and "query".(bearer_methods_supported).- Returns:
- a list of the supported methods for sending an OAuth 2.0 bearer token to the protected resource, or an empty list if not set
-
getResourceName
Returns the name of the protected resource intended for display to the end user(resource_name).- Returns:
- the name of the protected resource intended for display to the end user, or
nullif not set
-
isTlsClientCertificateBoundAccessTokens
default boolean isTlsClientCertificateBoundAccessTokens()Returnstrueto indicate protected resource support for mutual-TLS client certificate-bound access tokens(tls_client_certificate_bound_access_tokens).- Returns:
trueto indicate protected resource support for mutual-TLS client certificate-bound access tokens
-