Auth0 Universal Components
    Preparing search index...

    Interface UserMFAOptions

    interface UserMFAOptions {
        customMessages?: Partial<MFAMessages>;
        disableDelete?: boolean;
        factorConfig?: Partial<Record<FactorTypeEnum, FactorConfigOptions>>;
        onBeforeAction?: (
            action: "enroll" | "delete" | "confirm",
            factorType: FactorTypeEnum,
        ) => boolean | Promise<boolean>;
        onDelete?: () => void;
        onEnroll?: () => void;
        onErrorAction?: (
            error: Error,
            action: "enroll" | "delete" | "confirm",
        ) => void;
        onFetch?: () => void;
        readOnly?: boolean;
        showActiveOnly?: boolean;
    }
    Index

    Properties

    customMessages?: Partial<MFAMessages>
    disableDelete?: boolean
    factorConfig?: Partial<Record<FactorTypeEnum, FactorConfigOptions>>
    onBeforeAction?: (
        action: "enroll" | "delete" | "confirm",
        factorType: FactorTypeEnum,
    ) => boolean | Promise<boolean>
    onDelete?: () => void
    onEnroll?: () => void
    onErrorAction?: (error: Error, action: "enroll" | "delete" | "confirm") => void
    onFetch?: () => void
    readOnly?: boolean
    showActiveOnly?: boolean