hasStoredPasskey

Returns whether this device has a stored passkey ready to be used for sign-in

function hasStoredPasskey(
client: ThirdwebClient,
ecosystemId?: `ecosystem.${string}`,
): Promise<boolean>;

Parameters

the thirdweb client

Type

let client: {
readonly clientId: string;
readonly secretKey: string | undefined;
} & Readonly<ClientOptions>;

Type

let ecosystemId: `ecosystem.${string}`;

Returns

let returnType: Promise<boolean>;

whether the device has a stored passkey