AuthService
is used to retrieve all user-related data and authenticate the user. You can import the AuthService
from the experro-storefront
package.
AuthService
provides.
false
or true
to indicate whether the user is logged in or not.
userDetails
as the parameter.
username
and password
as two properties.
firstName
, lastName
, email
, password
, phone
, company
, and customFields
as properties of the object.
email
as the property of the object.