method | "totp" | The currently selected MFA method. |
methods | "totp"[] | The available MFA methods for enrollment. |
step | EnrollMfaStep | The current step of the enrollment flow. |
flowDirection | "left" | "right" | The direction of the flow. |
mfaCode | string | The MFA code entered by the user (for verification step). |
authUrl | null | string | The otpauth:// URL for QR code generation (from initiate). |
secret | null | string | The base32-encoded secret for manual entry (from initiate). |
initiatedAt | null | number | The timestamp when enrollment was initiated. |
isExpired | boolean | Whether the enrollment session has expired. |
error | | null | string | APIError | Error message or APIError object. |
isPending | boolean | Whether a request is pending. |
isSuccess | boolean | Whether the enrollment was successful. |