Class PasswordRecoveryOptions

Assembly: redb.Identity.Core.dll

N-4 (Session C): tunables for the password-recovery flow
(direct-vm://identity-password-forgot +
direct-vm://identity-password-reset).

Defaults follow OWASP ASVS V6.1.3 ("reset token expires within 60 minutes") and the
industry midpoint (Auth0=60m, Okta=60m, Microsoft=15m, Cognito=60m) at the lower end
to minimise the window in which a leaked link is exploitable.

public sealed class PasswordRecoveryOptions

Inheritance

Object→PasswordRecoveryOptions

Properties

TokenTtl

Time-to-live for an issued single-use reset token. Recommended range: 15–60 minutes.

public TimeSpan TokenTtl { get; set; }