Represents the response from a token exchange request.
export interface TokenExchangeResponse { success: boolean; token?: { access_token: string; token_type: string; expires_in: number; }; error?: string;} Copy
export interface TokenExchangeResponse { success: boolean; token?: { access_token: string; token_type: string; expires_in: number; }; error?: string;}
Whether the token exchange was successful.
Optional
The token object if successful.
The error message if unsuccessful.
Represents the response from a token exchange request.
Source