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
handleGetSetupPin()?
optionalhandleGetSetupPin(accountId):Promise<string>
Asynchronously handles a get setup pin request.
Parameters
accountId
string
The identifier of the account requesting a setup pin.
Returns
Promise<string>
A promise that resolves to the setup pin string.
handleLogin()?
optionalhandleLogin(accountId,pin):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>
A promise that resolves when the login request has been processed.
handleLogout()?
optionalhandleLogout():Promise<void>
Asynchronously handles a logout request.
Returns
Promise<void>
A promise that resolves when the logout request has been processed.
handleReadStatus()?
optionalhandleReadStatus():Promise<IStatus>
Asynchronously handles the read status operation.
Returns
Promise<IStatus>
A promise that resolves to the user account login status.
Last updated: May 13, 2026

