This hook provides a way for clients to authenticate with MFA using a passkey.The hook needs to be initialized within a child of DynamicContextProvider.
import { useAuthenticatePasskeyMFA } from '@dynamic-labs/sdk-react-core';const App = () => { const authenticatePasskeyMFA = useAuthenticatePasskeyMFA(); return ( <button onClick={() => authenticatePasskeyMFA({ createMfaToken: true, // Optional, if you want to create a single use MFA token for an action })} > Authenticate with MFA </button> );};