GetTokenCallbacks
GetTokenCallbacks defines a set of callback functions for token-related events.
Properties
getTokenFailure()
getTokenFailure: (
error_msg
) =>void
Callback function invoked when there's a failure in obtaining a token.
Parameters
error_msg
string
The error message indicating the reason for the failure.
Returns
void
getTokenSuccess()
getTokenSuccess: (
access_token
) =>void
Callback function invoked when a token is successfully obtained.
Parameters
access_token
string
The access token obtained successfully.
Returns
void
Last updated: Sep 30, 2025