Class PasswordRecoveryController
N-4 (Session C): anonymous password-recovery HTTP facade.
POST /api/v1/identity/password/forgot — initiate recovery.
Anti-enumeration: always 200 success, even when the e-mail does not match a user
or the callerResetUrl is not whitelisted on the client.POST /api/v1/identity/password/reset — complete recovery by verifying
the single-use token and setting the new password (revokes all sessions).
Both endpoints require NO bearer token — they are reachable by any unauthenticated
browser / SDK caller. Brute-force enumeration is mitigated by the per-IP throttle
processor sitting in front of both direct-vm routes (configured in
IdentityCoreRouteBuilder).
[Route("password")]
public class PasswordRecoveryController : IdentityControllerBase
Inheritance
Inherited Members
Methods
Forgot(PasswordForgotRequest)
Initiate password recovery for the supplied e-mail. Always returns
[HttpPost("forgot")]
public Task<object?> Forgot(PasswordForgotRequest request)
Reset(PasswordResetRequest)
Complete password recovery: verify + atomically consume the reset token, validate
[HttpPost("reset")]
public Task<object?> Reset(PasswordResetRequest request)