Class PasswordHistoryProps

Assembly: redb.Identity.Core.dll

H10 — per-user password history entry. Stores a verifier-hash (Argon2id by default,
produced via the same that hashes
live credentials) of a previously-used password so that
recent passwords can be
rejected on reuse. Plain-text passwords are NEVER persisted.

Each row is owned by the user whose password it tracks; soft-delete cascades on user
removal happen via the standard IdentityDeletionHelper flow (rows are soft-
deleted alongside ).

[RedbScheme("identity.password_history")]
public class PasswordHistoryProps

Inheritance

Object→PasswordHistoryProps

Properties

CreatedAt

UTC timestamp when this password became the user's active credential.

public DateTimeOffset CreatedAt { get; set; }

HashedPassword

Argon2id (or legacy) verifier-hash of the previously-used password.

public string HashedPassword { get; set; }

UserId

Owner user id (foreign key to _users._id).

public long UserId { get; set; }