Skip to main content

Enumeration: OAuthTokenType

OAuth 2.0 Token Type Identifiers See: https://datatracker.ietf.org/doc/html/rfc8693#name-token-type-identifiers

Enumeration Members

AccessToken

AccessToken = "urn:ietf:params:oauth:token-type:access_token"

Indicates that the token is an OAuth 2.0 access token issued by the given authorization server.

Defined in

packages/core/src/client.ts:495


RefreshToken

RefreshToken = "urn:ietf:params:oauth:token-type:refresh_token"

Indicates that the token is an OAuth 2.0 refresh token issued by the given authorization server.

Defined in

packages/core/src/client.ts:497


IdToken

IdToken = "urn:ietf:params:oauth:token-type:id_token"

Indicates that the token is an ID Token as defined in Section 2 of [OpenID.Core].

Defined in

packages/core/src/client.ts:499


Saml1Token

Saml1Token = "urn:ietf:params:oauth:token-type:saml1"

Indicates that the token is a base64url-encoded SAML 1.1 [OASIS.saml-core-1.1] assertion.

Defined in

packages/core/src/client.ts:501


Saml2Token

Saml2Token = "urn:ietf:params:oauth:token-type:saml2"

Indicates that the token is a base64url-encoded SAML 2.0 [OASIS.saml-core-2.0-os] assertion.

Defined in

packages/core/src/client.ts:503