authenticate abstract method

Future<bool?> authenticate(
  1. String? correlationId,
  2. String userId,
  3. String password
)

Authenticates a password.

  • correlationId (optional) transaction id to trace execution through call chain.
  • userId an id of password.
  • password a password to be authenticated. Return Future that receives bool value of the authentication result.

Implementation

Future<bool?> authenticate(
    String? correlationId, String userId, String password);