For AI agents: a documentation index is available at /llms.txt. A markdown version of this page is available at the same URL with .md appended (or via Accept: text/markdown).
Skip to main content

Logout user

Trigger the logout flow.

info

It is not advised to be used in iOS since it will trigger a system dialog that asks if users want to allow a Login operation.

Method

logout(): Promise<void>;

This method has no input and returns a Promise that resolves if the operation is successful, and rejects if the operation failed.

Usage

await web3auth.logout()
On this page