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

GetTokenCallbacks

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.


getTokenFailure

getTokenFailure: (error_msg: string) => void

Callback function invoked when there's a failure in obtaining a token.


Last updated: Jul 22, 2026