Table of Contents

Constructor PasswordAttempt

Namespace
MailFathom.Infrastructure.Security.Passwords
Assembly
MailFathom.Infrastructure.dll

PasswordAttempt(string, string?, string, int, int)

One password attempt, as the limiter counts it.

public PasswordAttempt(string SurfaceName, string? Source, string Username, int AttemptsPerMinute, int MaxConcurrentVerifications)

Parameters

SurfaceName string

The transport surface the attempt arrived on, so two surfaces' partitions stay apart.

Source string

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.

Username string

The canonical login presented, whole, which reaches only a digest.

AttemptsPerMinute int

How many wrong passwords each axis admits in a minute.

MaxConcurrentVerifications int

How many verifications the surface the attempt arrived on may have in flight at once.

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.