authenticate abstract method

Future<AuthResponse> authenticate(
  1. Map<String, dynamic> credentials,
  2. Authenticatable user
)

Attempts to authenticate a user with credentials

credentials User login credentials user The user to authenticate Returns authentication response with tokens

Implementation

Future<AuthResponse> authenticate(
  Map<String, dynamic> credentials,
  Authenticatable user,
);