Auth0 Universal Components
    Preparing search index...

    Interface UseUserMFAReturn

    interface UseUserMFAReturn {
        contact: string;
        enrollFactor: FactorTypeEnum | null;
        enrollmentPhase: any;
        error: string | null;
        factorsByType: Record<MFAType, Authenticator[]>;
        factorToDelete: { id: string; type: FactorTypeEnum } | null;
        handleCancelDelete: () => void;
        handleCloseEnrollDialog: () => Promise<void>;
        handleConfirmDelete: () => Promise<void>;
        handleConfirmOtp: (otpCode: string) => Promise<void>;
        handleConfirmPush: () => Promise<void>;
        handleConfirmRecoveryCode: () => Promise<void>;
        handleDeleteFactor: (
            factorId: string,
            factorType: FactorTypeEnum,
        ) => Promise<void>;
        handleEnroll: (factor: FactorTypeEnum) => Promise<void>;
        handleEnterQRPhase: () => Promise<void>;
        handleSendCode: (options: Record<string, string>) => Promise<boolean>;
        hasNoActiveFactors: boolean;
        isConfirming: boolean;
        isDeleteDialogOpen: boolean;
        isDeleting: boolean;
        isEnrollDialogOpen: boolean;
        isEnrolling: boolean;
        isLoadingFactors: boolean;
        otpData: { barcodeUri: string; manualInputCode: string };
        recoveryCode: string;
        visibleFactorTypes: FactorTypeEnum[];
    }
    Index

    Properties

    contact: string
    enrollFactor: FactorTypeEnum | null
    enrollmentPhase: any
    error: string | null
    factorsByType: Record<MFAType, Authenticator[]>
    factorToDelete: { id: string; type: FactorTypeEnum } | null
    handleCancelDelete: () => void
    handleCloseEnrollDialog: () => Promise<void>
    handleConfirmDelete: () => Promise<void>
    handleConfirmOtp: (otpCode: string) => Promise<void>
    handleConfirmPush: () => Promise<void>
    handleConfirmRecoveryCode: () => Promise<void>
    handleDeleteFactor: (
        factorId: string,
        factorType: FactorTypeEnum,
    ) => Promise<void>
    handleEnroll: (factor: FactorTypeEnum) => Promise<void>
    handleEnterQRPhase: () => Promise<void>
    handleSendCode: (options: Record<string, string>) => Promise<boolean>
    hasNoActiveFactors: boolean
    isConfirming: boolean
    isDeleteDialogOpen: boolean
    isDeleting: boolean
    isEnrollDialogOpen: boolean
    isEnrolling: boolean
    isLoadingFactors: boolean
    otpData: { barcodeUri: string; manualInputCode: string }
    recoveryCode: string
    visibleFactorTypes: FactorTypeEnum[]