Documentation Index
Fetch the complete documentation index at: https://dynamic-docs-feat-sidebar-revamp.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Summary
Used to manually open the recovery flow and let a user create a new passkey so they can recover their account.
import { usePasskeyRecovery } from "@dynamic-labs/sdk-react-core";
const { initPasskeyRecoveryProcess, addRecoveryEmail } = usePasskeyRecovery();
// Opens the recovery flow UI
<button onClick={() => initPasskeyRecoveryProcess()}></button>;
// Adds a recovery email
<button onClick={() => addRecoveryEmail('recovery-email@gmail.com')}></button>;