Class TokenTypeURI

java.lang.Object
com.nimbusds.oauth2.sdk.token.TokenTypeURI
All Implemented Interfaces:
Serializable

@Immutable public final class TokenTypeURI extends Object implements Serializable
Token type URI. A URN used to identify the type of token in a token exchange. The token type URIs can potentially be used in other contexts.

The standard OAuth URIs are registered at IANA, see https://www.iana.org/assignments/oauth-parameters/oauth-parameters.xhtml#uri

  • OAuth 2.0 Token Exchange (RFC 8693)
See Also:
  • Field Details

    • ACCESS_TOKEN

      public static final TokenTypeURI ACCESS_TOKEN
      The token type URI for an OAuth 2.0 access token.
    • REFRESH_TOKEN

      public static final TokenTypeURI REFRESH_TOKEN
      The token type URI for an OAuth 2.0 refresh token.
    • SAML1

      public static final TokenTypeURI SAML1
      The token type URI for a BASE64URL-encoded SAML 1.1 assertion.
    • SAML2

      public static final TokenTypeURI SAML2
      The token type URI for a BASE64URL-encoded SAML 2.0 assertion.
    • JWT

      public static final TokenTypeURI JWT
      The token type URI for a JSON Web Token (JWT).
    • ID_TOKEN

      public static final TokenTypeURI ID_TOKEN
      The token type URI for an OpenID Connect ID Token.
    • DEVICE_SECRET

      public static final TokenTypeURI DEVICE_SECRET
      The token type URI for a device_secret for OpenID Connect native SSO.
  • Method Details