Class OAuth2TokenExchangeContext

  • All Implemented Interfaces:
    Context

    public class OAuth2TokenExchangeContext
    extends AbstractContext
    Context supporting OAuth2 token exchange scenarios, this manages the resulting exchange token.
    • Method Detail

      • getIssuedToken

        public String getIssuedToken()
        Returns the exchange token issued by the authorization service.
        Returns:
        The issued exchange token.
      • getIssuedTokenType

        public String getIssuedTokenType()
        Returns the issued exchange token type URN.
        Returns:
        The issued exchange token type URN.
      • getScopes

        public Set<String> getScopes()
        Returns the set of scopes applicable to the exchange token.
        Returns:
        The set of available scopes.
      • getRawInfo

        public JsonValue getRawInfo()
        Returns the raw exchange token info as issued by the authorization server.
        Returns:
        The exchange token raw info.