logout
User account logout. 🔐 This method requires authorization.
Description
This method performs a user logout. If successful, it will return true. This method requires user authorization. It returns a Promise that resolves to an boolean value.
AuthProvider.logout(
marker*,
);
Parameters schema
Schema
marker:* string
The text identifier of the authorization provider
example: email
Examples
Minimal example
const response = await AuthProvider.logoutAll('email');
Example response
true