countAttempts abstract method

Future<int> countAttempts(
  1. Session session, {
  2. required T nonce,
})

Counts the number of attempts for the given nonce.

nonce is the unique identifier for the request (e.g., email, request ID, token).

Implementation

Future<int> countAttempts(
  final Session session, {
  required final T nonce,
});