preAuthenticate

Pre-authenticates the user based on the provided authentication strategy.

Example

import { preAuthenticate } from "thirdweb/wallets/in-app";
const result = await preAuthenticate({
client,
strategy: "email",
email: "example@example.org",
});

Parameters

Returns

A promise that resolves to the pre-authentication result.