Table of Contents

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

Ok bool
Error string
ServerProof string
Username string
AccessLevel byte
TotpEnabled bool
VerificationRequired bool

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.

Outstanding AccountVerificationChannels

Properties

AccessLevel

public byte AccessLevel { get; init; }

Property Value

byte

Error

public string Error { get; init; }

Property Value

string

Ok

public bool Ok { get; init; }

Property Value

bool

Outstanding

public AccountVerificationChannels Outstanding { get; init; }

Property Value

AccountVerificationChannels

ServerProof

public string ServerProof { get; init; }

Property Value

string

TotpEnabled

public bool TotpEnabled { get; init; }

Property Value

bool

Username

public string Username { get; init; }

Property Value

string

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; }

Property Value

bool