as

Settings
Sign out
Notifications
Alexa
亚马逊应用商店
AWS
文档
Support
Contact Us
My Cases
新手入门
设计和开发
应用发布
参考
支持
跳转到主要内容
TokenCallbacks Represents a set of callback functions for token-related events.

Properties

getTokenSuccess

getTokenSuccess: (access_token: string) => void
Callback function invoked when a token is successfully obtained.

Parameters

access_token
string The access token obtained successfully.

getTokenFailure

getTokenFailure: (error_msg: string) => 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.
最后修改于 2026年8月25日