Skip to main content

Authenticate

Using Auth, authenticate the user by signing a payload that can be used to securely identify users.

Usage​

var data = await sdk.wallet.Authenticate("domain");

Configuration​

domain​

The domain you used in your authentication backend.

Learn more about how auth works.

Must be a string.

Return Value​

Returns a LoginPayload struct containing the following properties:

{
string signature;
{
string domain;
string address;
string statement;
string uri;
string version;
string chain_id;
string nonce;
string issued_at;
string expiration_time;
string invalid_before;
List<string> resources;
}
}