This is the LoginOptions description

interface LoginOptions {
    password: string;
    scopes?: string[];
    storeKey?: string;
    username: string;
}

Properties

password: string

The customer's password

scopes?: string[]

The scopes to which you want to restrict the customer grant. Note that these must be a subset of the scopes associated with the client grant.

storeKey?: string

The key of the store to login to

username: string

The customer's username (email address)

Generated using TypeDoc