Pre-authenticates the user based on the provided authentication strategy. Use this function to send a verification code to the user's email or phone number.
import { preAuthenticate } from "thirdweb/wallets/in-app"; const result = await preAuthenticate({ client, strategy: "email", email: "example@example.org",});
function preAuthenticate(args: PreAuthArgsType): Promise<void>;
The arguments required for pre-authentication.
let args: PreAuthArgsType;
let returnType: Promise<void>;
A promise that resolves to the pre-authentication result.