Class DefaultOAuth2TokenContext
java.lang.Object
org.springframework.security.oauth2.server.authorization.token.DefaultOAuth2TokenContext
- All Implemented Interfaces:
Context, OAuth2TokenContext
Default implementation of
OAuth2TokenContext.- Since:
- 7.0
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface OAuth2TokenContext
OAuth2TokenContext.AbstractBuilder<T,B> -
Field Summary
Fields inherited from interface OAuth2TokenContext
DPOP_PROOF_KEY -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Returns a newDefaultOAuth2TokenContext.Builder.<V> @Nullable VReturns the value of the attribute associated to the key.booleanReturnstrueif an attribute associated to the key exists,falseotherwise.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface OAuth2TokenContext
getAuthorization, getAuthorizationGrant, getAuthorizationGrantType, getAuthorizationServerContext, getAuthorizedScopes, getPrincipal, getRegisteredClient, getTokenType
-
Method Details
-
get
Description copied from interface:ContextReturns the value of the attribute associated to the key. -
hasKey
Description copied from interface:ContextReturnstrueif an attribute associated to the key exists,falseotherwise. -
builder
Returns a newDefaultOAuth2TokenContext.Builder.- Returns:
- the
DefaultOAuth2TokenContext.Builder
-