1. Docs
  2. API Reference
  3. MfaWebAuthnEnrollOptionsResponseDto

MfaWebAuthnEnrollOptionsResponseDto

Example

JSON
{
  "enrollment_token": "string",
  "options": {}
}

Properties

2 properties 2 required

enrollment_token string Required

Opaque short-lived (5 min) sealed token carrying the WebAuthn challenge nonce. Must be returned to /mfa/webauthn/enroll/verify exactly.

options object Required

`PublicKeyCredentialCreationOptions` JSON to pass to `navigator.credentials.create()`. Shape per the WebAuthn Level 2 spec; key fields: `rp`, `user`, `challenge`, `pubKeyCredParams`, `excludeCredentials`, `authenticatorSelection`.

Was this page helpful?

Tell us how we can improve this guide.