Class SelfServiceService.PasswordChange
- Namespace
- FishMMO.ControlPanel.Services
- Assembly
- FishMMO-ControlPanel.dll
Outcome of a password change: whether the credentials changed, and whether every game token went with them.
public sealed record SelfServiceService.PasswordChange : IEquatable<SelfServiceService.PasswordChange>
- Inheritance
-
SelfServiceService.PasswordChange
- Implements
- Inherited Members
Remarks
The second half is its own field because it can fail after the first succeeded, and the two need different answers: a password that did not change is an error, a password that changed while old tokens survived is a success the account holder must be told is partial.
Constructors
PasswordChange(bool, string, bool)
Outcome of a password change: whether the credentials changed, and whether every game token went with them.
public PasswordChange(bool Ok, string Error, bool GameTokensRevoked)
Parameters
Remarks
The second half is its own field because it can fail after the first succeeded, and the two need different answers: a password that did not change is an error, a password that changed while old tokens survived is a success the account holder must be told is partial.
Properties
Error
public string Error { get; init; }
Property Value
GameTokensRevoked
public bool GameTokensRevoked { get; init; }
Property Value
Ok
public bool Ok { get; init; }