Auth0 Universal Components
    Preparing search index...

    Interface UseUserMFAServiceReturn

    interface UseUserMFAServiceReturn {
        deleteMutation: UseMutationResult<void, Error, string>;
        enrollMutation: UseMutationResult<
            CreateAuthenticationMethodResponseContent,
            Error,
            { factorType: FactorTypeEnum; options?: EnrollOptions },
        >;
        factorsQuery: UseQueryResult<Record<FactorTypeEnum, Authenticator[]>>;
        verifyMutation: UseMutationResult<
            VerifyAuthenticationMethodResponseContent,
            Error,
            {
                authenticationMethodId: string;
                authSession: string;
                factorType: FactorTypeEnum;
                options: ConfirmEnrollmentOptions;
            },
        >;
    }
    Index

    Properties

    deleteMutation: UseMutationResult<void, Error, string>
    enrollMutation: UseMutationResult<
        CreateAuthenticationMethodResponseContent,
        Error,
        { factorType: FactorTypeEnum; options?: EnrollOptions },
    >
    factorsQuery: UseQueryResult<Record<FactorTypeEnum, Authenticator[]>>
    verifyMutation: UseMutationResult<
        VerifyAuthenticationMethodResponseContent,
        Error,
        {
            authenticationMethodId: string;
            authSession: string;
            factorType: FactorTypeEnum;
            options: ConfirmEnrollmentOptions;
        },
    >