Constimport { mfa } from '@auth0/nextjs-auth0/client';
// List authenticators
const authenticators = await mfa.getAuthenticators({ mfaToken });
// Initiate challenge
const challenge = await mfa.challenge({ mfaToken, challengeType: 'oob' });
// Verify and complete
const tokens = await mfa.verify({ mfaToken, otp: '123456' });
Client-side MFA API singleton.