disconnect

abstract fun disconnect()

Disconnect from the user's account.

💾 This method alters the persisted account state.

This method destroys any tokens held by the client, effectively disconnecting from the user's account. Applications should call this when the user opts to sign out.

The persisted account state after calling this method will contain only the user's last-seen profile information, if any. This may be useful in helping the user to reconnnect to their account. If reconnecting to the same account is not desired then the application should discard the persisted account state.