Skip to content

Commit

Permalink
Add EmbeddedWallet.ClearSession
Browse files Browse the repository at this point in the history
  • Loading branch information
0xFirekeeper committed Apr 10, 2024
1 parent 0e31757 commit f261bdb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Thirdweb/Thirdweb.Wallets/EmbeddedAccount/EmbeddedAccount.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@ public static async Task<EmbeddedAccount> Create(ThirdwebClient client, string e
return new EmbeddedAccount(client, email, phoneNumber, embeddedWallet, ecKey);
}

public async Task ClearSession()
{
await _embeddedWallet.SignOutAsync();
}

#region OTP Flow

public async Task SendOTP()
Expand Down

0 comments on commit f261bdb

Please sign in to comment.