Class MfaArchivedRecoveryCodeBatch

Assembly: redb.Identity.Core.dll

A snapshot of recovery-code hashes that were active before being retired
(for example because MFA was disabled or because the user regenerated the set).

Stored append-only on . The hashes here
are NOT consulted by MfaService.VerifyRecoveryCodeAsync and cannot be used
to log in — keeping them is purely audit/forensic so that an admin can answer
«which codes were active for this user when MFA was disabled at ArchivedAt?»
without weakening the security promise that Disable revokes the codes.

B9 / BUG-8.

public sealed class MfaArchivedRecoveryCodeBatch

Inheritance

Object→MfaArchivedRecoveryCodeBatch

Properties

ArchivedAt

UTC timestamp at which the batch was retired.

public DateTimeOffset ArchivedAt { get; set; }

HashedCodes

The hashed codes (same wire format as ).

public List<string> HashedCodes { get; set; }

Reason

Reason the batch was retired ("disable", "regenerate", etc.). Free-form short tag,

public string? Reason { get; set; }