IThirdwebWallet.Authenticate

Login to your thirdweb Auth-integrated backend.

Usage

var authResult = await wallet.Authenticate<string>(domain: "https://mydomain.com", chainId: 1);

Example

// Example usage returning the auth result as a string
var authResult = await wallet.Authenticate<string>(domain: "https://mydomain.com", chainId: 1);
// Example usage returning the auth result as a byte array
var authResultBytes = await wallet.Authenticate<byte[]>(domain: "https://mydomain.com", chainId: 1);
// Example usage returning the auth result as a custom object
var authResultObject = await wallet.Authenticate<MyCustomType>(domain: "https://mydomain.com", chainId: 1);