You are reading the documentation for Vue Storefront v2. See the latest docs.

Home > @vue-storefront/core > UseUserFactoryParams > logIn

UseUserFactoryParams.logIn property

Signature:

logIn: (context: Context, params: {
        username: string;
        password: string;
        customQuery?: CustomQuery;
    }) => Promise<USER>;