Skip to main content

core.oauthtokentype

Home > @medplum/core > OAuthTokenType

OAuthTokenType enum

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

Signature:

export declare enum OAuthTokenType 

Enumeration Members

MemberValueDescription
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.
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].
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.
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.
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.