Skip to main content
The state of the VerifyMfa component.

Properties

PropertyTypeDescription
method"totp" | "sms"The currently selected MFA method.
methods("totp" | "sms")[]The available MFA methods for verification (from user’s enrolled methods).
stepVerifyMfaStepThe current step of the verification flow.
flowDirection"left" | "right"The direction of the flow transition.
mfaCodestringThe MFA code entered by the user.
error| null | string | APIErrorError message or APIError object.
isPendingbooleanWhether a verification request is pending.
isSuccessbooleanWhether the verification was successful.