authenticateCustomer method

Future<bool> authenticateCustomer({
  1. required String email,
  2. required String password,
})

Authenticate customer with email and password.

Attempts to log in a customer using their email and password credentials. Upon successful authentication, the customer token is stored for subsequent requests.

email the customer's email address password the customer's password

Returns true if authentication was successful, false otherwise.

Implementation

Future<bool> authenticateCustomer({
  required String email,
  required String password,
}) {
  throw UnimplementedError(
    'authenticateCustomer() has not been implemented.',
  );
}