Interface ResetTokenCreationResult
- All Known Implementing Classes:
ResetTokenCreationResult.Blocked, ResetTokenCreationResult.Created, ResetTokenCreationResult.UnknownUser
public sealed interface ResetTokenCreationResult
permits ResetTokenCreationResult.Created, ResetTokenCreationResult.UnknownUser, ResetTokenCreationResult.Blocked
Outcome of
PasswordResetService.issue(String, Duration). Adapters must
surface the same generic public response for every variant —
leaking "user unknown" defeats the entire reset flow's
enumeration resistance (CWE-203).-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordstatic final recordReturned token.static final record