Skip to main content

logoutAll

User account logout all. 🔐 This method requires authorization.

Description

This method performs a user Logout on all logged-in devices. 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(required): string
The text identifier of the authorization provider
example: "email"

Examples

Minimal example

const response = await AuthProvider.logoutAll('email');

Example response

true