as

Settings
Sign out
Notifications
Alexa
亚马逊应用商店
AWS
文档
Support
Contact Us
My Cases
新手入门
设计和开发
应用发布
参考
支持
感谢您的访问。此页面目前仅提供英语版本。我们正在开发中文版本。谢谢您的理解。

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: Oct 02, 2025