Class TokenType
- Namespace
- Auth0.AuthenticationApi.Models
- Assembly
- Auth0.AuthenticationApi.dll
Well-known OAuth 2.0 Token Exchange (RFC 8693) token type URNs, plus the Auth0-specific Session Transfer Token type.
public static class TokenType
- Inheritance
-
TokenType
- Inherited Members
Remarks
These are provided for convenience and discoverability. The token-type properties on TokenExchangeTokenRequest are plain strings, so a caller may also supply a custom or future URN not listed here.
Fields
AccessToken
Indicates that the token is an OAuth 2.0 access token: urn:ietf:params:oauth:token-type:access_token.
public const string AccessToken = "urn:ietf:params:oauth:token-type:access_token"
Field Value
FederatedConnectionAccessToken
Indicates that the token is an Auth0 federated connection access token: http://auth0.com/oauth/token-type/federated-connection-access-token.
public const string FederatedConnectionAccessToken = "http://auth0.com/oauth/token-type/federated-connection-access-token"
Field Value
IdToken
Indicates that the token is an OIDC ID Token: urn:ietf:params:oauth:token-type:id_token.
public const string IdToken = "urn:ietf:params:oauth:token-type:id_token"
Field Value
Jwt
Indicates that the token is a JWT: urn:ietf:params:oauth:token-type:jwt.
public const string Jwt = "urn:ietf:params:oauth:token-type:jwt"
Field Value
RefreshToken
Indicates that the token is an OAuth 2.0 refresh token: urn:ietf:params:oauth:token-type:refresh_token.
public const string RefreshToken = "urn:ietf:params:oauth:token-type:refresh_token"
Field Value
SessionTransferToken
Indicates that the token is an Auth0 Session Transfer Token: urn:auth0:params:oauth:token-type:session_transfer_token.
public const string SessionTransferToken = "urn:auth0:params:oauth:token-type:session_transfer_token"