The MfaWebAuthnEnrollVerifyResponseDto object
Example
{
"factor": {
"id": "00000000-0000-0000-0000-000000000000",
"type": "totp",
"label": "iPhone 15",
"enrolled_at": "2026-04-20T12:00:00.000Z",
"last_used_at": "2026-04-20T12:00:00.000Z"
},
"recovery_codes": [
"ABCD-EFGH-IJKL-MNOP",
"QRST-UVWX-YZ23-4567",
"..."
],
"recovery_codes_generation": 0
}Properties
factor *MfaFactorResponseDtorecovery_codesstring[]Ten freshly-minted single-use recovery codes — **only present on the first factor enrollment**. Subsequent enrollments return `null` here because the prior batch is still valid; the user already saw it the first time around.
recovery_codes_generationnumberGeneration number of the active batch — `null` when no codes were issued from this enrollment (subsequent factor).