Interface TypedToken

All Superinterfaces:
Token

@Immutable public interface TypedToken extends Token
Represents a token with a specific type URI. Such tokens are used in the Token Exchange flow.
  • Field Details

    • URN_ACCESS_TOKEN

      static final URI URN_ACCESS_TOKEN
      Indicates that the token is an OAuth 2.0 access token.
    • URN_REFRESH_TOKEN

      static final URI URN_REFRESH_TOKEN
      Indicates that the token is an OAuth 2.0 refresh token.
    • URN_ID_TOKEN

      static final URI URN_ID_TOKEN
      Indicates that the token is an OpenID Core ID Token.
    • URN_SAML1

      static final URI URN_SAML1
      Indicates that the token is a base64url-encoded SAML 1.1 assertion.
    • URN_SAML2

      static final URI URN_SAML2
      Indicates that the token is a base64url-encoded SAML 2.0 assertion.
    • URN_JWT

      static final URI URN_JWT
      Indicates that the token is a JWT.
  • Method Details