Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Native
Skip to main content
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.
Last modified on August 25, 2026