Request a passkey enrollment challenge for an already-authenticated user.
Calls Auth0 MyAccount POST /me/v1/authentication-methods.
Optionaloptions: PasskeyEnrollmentChallengeOptionsOptional connection or identity user ID.
Verify and complete a passkey enrollment.
Calls Auth0 MyAccount POST /me/v1/authentication-methods/{id}/verify.
Authentication method ID, auth session, and serialised credential.
Complete a full passkey login in one call.
Fetches the challenge, runs navigator.credentials.get(), then exchanges for a session.
Optionaloptions: PasskeyChallengeOptionsOptional connection or organization.
Complete a full passkey signup in one call.
Fetches the challenge, runs navigator.credentials.create(), then exchanges for a session.
Optionaloptions: PasskeyRegisterOptionsUser profile and optional connection/organization.
Browser-side passkey interface — one-call convenience methods. Used by the
passkeysingleton exported from@auth0/nextjs-auth0/client. Handles challenge fetch, WebAuthn ceremony, and token exchange internally.