recordAttempt abstract method

Future<void> recordAttempt(
  1. Session session, {
  2. required T nonce,
  3. Map<String, String>? extraData,
})

Records an attempt for the given nonce.

nonce is the unique identifier for the request (e.g., email, request ID, token). extraData is optional additional data to log with the attempt.

Implementation

Future<void> recordAttempt(
  final Session session, {
  required final T nonce,
  final Map<String, String>? extraData,
});