Skip to content

Logout

To logout an authenticated user, simply call:

kotlin
coroutineScope.launch {
    privy.logout()
}

This will clear the user state and delete the persisted user session.