Skip to main content
Props for the VerifyMfaInline component.

See

VerifyMfaInline

Extends

  • HTMLAttributes<HTMLDivElement>

Properties

PropertyTypeDescriptionOverrides
childrenReactNodeThe component children. Should include VerifyMfaInlineFlow. Can optionally include VerifyMfaInlineBackButton outside the Flow.HTMLAttributes.children
verifyFirst?booleanIf true, forces MFA verification before showing content. Use this when you want users to verify BEFORE seeing the content. If false (default), content is shown first and MFA is triggered automatically when a protected action is called. Default true-
onVerified?() => voidCalled when MFA verification completes successfully.-
onCancel?() => voidCalled when MFA verification is cancelled. If provided, a back/cancel action in the verify view will trigger this and transition back to content.-
successDelay?numberThe delay in milliseconds before transitioning to content after successful verification. This allows users to see the success state before the transition. Default 500-
className?stringAdditional class name for the container.HTMLAttributes.className