logoutAll
Log the user out on all devices. 🔐 This method requires authorization.
Description
Logs the user out on every device they're signed in on. Resolves to true on success. The SDK then clears its stored tokens and calls saveFunction with an empty string.
.logoutAll(
);
Parameters schema
Schema
marker(required): string
Marker of the auth provider.
example: "email"
Examples
Minimal example
const response = await AuthProvider.logoutAll('email');
Example response
true