Class OAuth2TokenExchangeContext
java.lang.Object
org.forgerock.services.context.AbstractContext
org.forgerock.openig.filter.oauth2.OAuth2TokenExchangeContext
- All Implemented Interfaces:
Context
Context
supporting OAuth2 token exchange scenarios, this manages the resulting exchange token.-
Field Summary
FieldsFields inherited from class org.forgerock.services.context.AbstractContext
data
-
Method Summary
Modifier and TypeMethodDescriptionReturns the exchange token issued by the authorization service.Returns the issued exchange token type URN.Returns the raw exchange token info as issued by the authorization server.Returns the set of scopes applicable to the exchange token.Methods inherited from class org.forgerock.services.context.AbstractContext
as, asContext, containsContext, containsContext, get, getContext, getContextName, getId, getParent, getRootId, isRootContext, toJsonValue, toString
-
Field Details
-
NAME
TheOAuth2TokenExchangeContext
's name.- See Also:
-
-
Method Details
-
getIssuedToken
Returns the exchange token issued by the authorization service.- Returns:
- The issued exchange token.
-
getIssuedTokenType
Returns the issued exchange token type URN.- Returns:
- The issued exchange token type URN.
-
getScopes
Returns the set of scopes applicable to the exchange token.- Returns:
- The set of available scopes.
-
getRawInfo
Returns the raw exchange token info as issued by the authorization server.- Returns:
- The exchange token raw info.
-