Skip to main content

ConfigMfaComposableState

Parameters


qrCodeDataUrl required Ref<string>


isGenerated required Ref<boolean>


isGenerating required Ref<boolean>


isActivated required Ref<boolean>


isActivating required Ref<boolean>


isError required Ref<boolean>

@returns

true if an error occurred

@depreacted

use !isSuccess or !!error instead


error required Ref<null | ErrorPayload>

Provides details about the error


generateQrCode required () => Promise<GenerateQrCodeHandlerResult>


activateMfa required (code: string) => Promise<ActivateMfaHandlerResult>