Logout User
Trigger logout flow. This function doesn't take parameters. A completable future containing a void object will be returned on successfull logout otherwise an error response is returned.
tip
Additionally you can associate a function to be triggered on successful logout.
void Start()
{
    web3Auth = GetComponent<Web3Auth>();
    web3Auth.setOptions(new Web3AuthOptions()
    {
    });
    web3Auth.onLogout += onLogout;
}
private void onLogout()
{
    // Functions to be called after user logs out
}
Usage
public void logout()
{
    web3Auth.logout();
    Debug.Log("Logged out!");
}