Class SrpLoginService.ProofResult
- Namespace
- FishMMO.ControlPanel.Services
- Assembly
- FishMMO-ControlPanel.dll
Result of the proof step.
public sealed record SrpLoginService.ProofResult : IEquatable<SrpLoginService.ProofResult>
- Inheritance
-
SrpLoginService.ProofResult
- Implements
- Inherited Members
Constructors
ProofResult(bool, string, string, string, byte, bool, bool, AccountVerificationChannels)
Result of the proof step.
public ProofResult(bool Ok, string Error, string ServerProof, string Username, byte AccessLevel, bool TotpEnabled, bool VerificationRequired = false, AccountVerificationChannels Outstanding = AccountVerificationChannels.None)
Parameters
OkboolErrorstringServerProofstringUsernamestringAccessLevelbyteTotpEnabledboolVerificationRequiredboolThe password was proven, but the account still owes a verification code. Only ever set after a correct proof, so it tells nobody anything they could not already sign in with.
OutstandingAccountVerificationChannels
Properties
AccessLevel
public byte AccessLevel { get; init; }
Property Value
Error
public string Error { get; init; }
Property Value
Ok
public bool Ok { get; init; }
Property Value
Outstanding
public AccountVerificationChannels Outstanding { get; init; }
Property Value
ServerProof
public string ServerProof { get; init; }
Property Value
TotpEnabled
public bool TotpEnabled { get; init; }
Property Value
Username
public string Username { get; init; }
Property Value
VerificationRequired
The password was proven, but the account still owes a verification code. Only ever set after a correct proof, so it tells nobody anything they could not already sign in with.
public bool VerificationRequired { get; init; }