Constructor PasswordAttemptLimiter
- Namespace
- MailFathom.Infrastructure.Security.Passwords
- Assembly
- MailFathom.Infrastructure.dll
PasswordAttemptLimiter(TimeProvider)
Initializes the two axes every attempt is counted on, each bounding derivations in flight and wrong passwords a minute separately.
public PasswordAttemptLimiter(TimeProvider timeProvider)
Parameters
timeProviderTimeProviderWhat schedules the release of a wrong password's permits.
Exceptions
- ArgumentNullException
Thrown when
timeProvideris null.