Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazonアプリストア
Ring
AWS
ドキュメント
Support
Contact Us
My Cases
開発
設計と開発
公開
リファレンス
サポート
アクセスいただきありがとうございます。こちらのページは現在英語のみのご用意となっております。順次日本語化を進めてまいりますので、ご理解のほどよろしくお願いいたします。

IAccountLoginHandlerAsync

Interface for handling AccountLogin callbacks asynchronously. All handlers are optional — a component only needs to implement the handlers relevant to its role (e.g. a service component may only handle read status).

Methods

handleReadStatus()

handleReadStatus(): Promise<IStatus>

Asynchronously handles the read status operation.

Returns

Promise<IStatus>

Promise A promise that resolves to the user account login status.


handleGetSetupPin()

handleGetSetupPin(accountId: string): Promise<string>

Asynchronously handles a get setup pin request.

Parameters

accountId

string

The identifier of the account requesting a setup pin.

Returns

Promise<string>

Promise A promise that resolves to the setup pin string.


handleLogin()

handleLogin(accountId: string, pin: string): Promise<void>

Asynchronously handles a login request.

Parameters

accountId

string

The identifier of the account to login.

pin

string

The setup pin for the account.

Returns

Promise<void>

Promise A promise that resolves when the login request has been processed.


handleLogout()

handleLogout(): Promise<void>

Asynchronously handles a logout request.

Returns

Promise<void>

Promise A promise that resolves when the logout request has been processed.


Last updated: Jul 22, 2026