docs/types/auth.SDK.TokenResponse.html
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[];
}
access_tokenrefresh_token?id_tokentoken_type?expires_inscopeauthorization_details?
access_token: string
The access token.
Optionalrefresh_tokenrefresh_token?: string
The refresh token, available with the offline_access scope.
id_token: string
The user's ID Token.
Optionaltoken_typetoken_type?: string
The token type of the access token.
expires_in: number
The duration in seconds that the access token is valid.
scope: string
The scopes associated with the token.
Optionalauthorization_detailsauthorization_details?: AuthorizationDetails[]
Optional authorization details when using Rich Authorization Requests (RAR).
https://auth0.com/docs/get-started/apis/configure-rich-authorization-requests
Member Visibility
ThemeOSLightDark
Properties access_tokenrefresh_tokenid_tokentoken_typeexpires_inscopeauthorization_details