Class PasswordAttempt
- Namespace
- MailFathom.Infrastructure.Security.Passwords
- Assembly
- MailFathom.Infrastructure.dll
One password attempt, as the limiter counts it.
public sealed record PasswordAttempt : IEquatable<PasswordAttempt>
- Inheritance
-
PasswordAttempt
- Implements
- Inherited Members
Remarks
ToString() is redacted, so no diagnostic can print a submitted username or a remote address by rendering the record the limiter was asked with.
Constructors
- PasswordAttempt(string, string?, string, int, int)
One password attempt, as the limiter counts it.
Properties
- AttemptsPerMinute
How many wrong passwords each axis admits in a minute.
- MaxConcurrentVerifications
How many verifications the surface the attempt arrived on may have in flight at once.
- Source
The remote address the attempt came from, or null where this deployment cannot tell one caller's address from another's and the username is therefore the whole bound.
- SurfaceName
The transport surface the attempt arrived on, so two surfaces' partitions stay apart.
- Username
The canonical login presented, whole, which reaches only a digest.
Methods
- ToString()
Returns a string that represents the current object.