Back to Node Auth0

Type Alias TokenResponse

docs/types/auth.SDK.TokenResponse.html

5.9.11.9 KB
Original Source

Type Alias TokenResponse

The response from the token endpoint.

type TokenResponse = {
access_token: string;
refresh_token?: string;
id_token: string;
token_type?: string;
expires_in: number;
scope: string;
authorization_details?: AuthorizationDetails[];
}

Index

Properties

access_tokenrefresh_token?id_tokentoken_type?expires_inscopeauthorization_details?

Properties

access_token

access_token: string

The access token.

Optionalrefresh_token

refresh_token?: string

The refresh token, available with the offline_access scope.

id_token

id_token: string

The user's ID Token.

Optionaltoken_type

token_type?: string

The token type of the access token.

expires_in

expires_in: number

The duration in seconds that the access token is valid.

scope

scope: string

The scopes associated with the token.

Optionalauthorization_details

authorization_details?: AuthorizationDetails[]

Optional authorization details when using Rich Authorization Requests (RAR).

See

https://auth0.com/docs/get-started/apis/configure-rich-authorization-requests

Settings

Member Visibility

  • Protected
  • Inherited

ThemeOSLightDark

On This Page

Properties access_tokenrefresh_tokenid_tokentoken_typeexpires_inscopeauthorization_details