Skip to main content
The context value for the VerifyMfa component.

See

useVerifyMfaContext

Properties

PropertyTypeDescription
onSuccess?(mfaCode: string) => voidThe function to call when verification is successful.
onError?(error: Error) => voidThe function to call when verification errors.
stateVerifyMfaStateThe current state of the verification flow.
dispatchDispatch<VerifyMfaAction>The dispatch function to update the state.