Class PasswordResetRequest

Assembly: redb.Identity.Contracts.dll

N-4 (Session C): request body for direct-vm://identity-password-reset
(and the HTTP facade POST /api/v1/identity/password/reset).

Carries the (, ) pair extracted from the reset link
plus the new password. The processor verifies + atomically consumes the token via
IPasswordResetTokenStore, validates the new password against the policy, sets it
via IUserProvider.SetPasswordAsync, and revokes every active session for the user.

public class PasswordResetRequest

Inheritance

Object→PasswordResetRequest

Properties

Jti

Per-issuance identifier emitted by IPasswordResetTokenStore.IssueAsync.

[Required]
public required string Jti { get; set; }

NewPassword

New password. Validated against the configured password policy before persistence.

[Required]
public required string NewPassword { get; set; }

Token

Plaintext reset token (32-byte base64url) from the reset link.

[Required]
public required string Token { get; set; }