Closes the open account.
If the login screen is enabled using the
bootstrap.boolean.showLoginScreen
setting, calling the the
closeAccount
method results in returning to the login screen.
Otherwise, it closes the Hybrid Container application.
Name | Description | Type | Use |
---|---|---|---|
callback | Passed while sending a reply to the request referring to an account and its public user data. | object |
required |
Please refer the addAccount article for detailed information on the callback, its structure and methods.