validateCode abstract method

Future<bool?> validateCode(
  1. String? correlationId,
  2. String userId,
  3. String code
)

Validates a code.

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

Implementation

Future<bool?> validateCode(String? correlationId, String userId, String code);