deleteAttempts abstract method
Deletes all attempts that match the given filters.
If nonce is provided, only attempts for the given nonce will be deleted.
If olderThan is provided, only attempts older than the given duration will be deleted.
If both are provided, only attempts for the given nonce and older than the given duration will be deleted.
Returns the number of attempts deleted.
Implementation
Future<void> deleteAttempts(
final Session session, {
required final T nonce,
final Duration? olderThan,
});