hasTooManyAttempts abstract method
Records and attempts and checks if there have been too many attempts for the given nonce.
If the attempt is rate limited, the config.onRateLimitExceeded callback
will be called.
nonce is the unique identifier for the request (e.g., email, request ID, token).
extraData is optional additional data to log with the attempt.
Returns true if the rate limit has been exceeded, false otherwise.
Implementation
Future<bool> hasTooManyAttempts(
final Session session, {
required final T nonce,
final Map<String, String>? extraData,
});