Authenticates the user based on the provided authentication arguments.
import { authenticate } from "thirdweb/wallets/in-app"; const result = await authenticate({ client, strategy: "email", email: "[email protected]", verificationCode: "123456",});
function authenticate( args: AuthArgsType,): Promise<AuthStoredTokenWithCookieReturnType>;
The authentication arguments.
let args: AuthArgsType;
let returnType: Promise<AuthStoredTokenWithCookieReturnType>;
A promise that resolves to the authentication result.