> For the complete documentation index, see [llms.txt](/llms.txt).

# 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[​](#method "Direct link to 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[​](#usage "Direct link to Usage")

```
await web3auth.logout()

```
