Table of Contents

Class TwoFactorResetFlow.Completion

Namespace
FishMMO.ControlPanel.Services
Assembly
FishMMO-ControlPanel.dll

The outcome of a completion, with the new factor when there is one.

public sealed record TwoFactorResetFlow.Completion : IEquatable<TwoFactorResetFlow.Completion>
Inheritance
TwoFactorResetFlow.Completion
Implements
Inherited Members

Constructors

Completion(CompletionStatus, string, DateTime?, string, IReadOnlyList<string>, bool)

The outcome of a completion, with the new factor when there is one.

public Completion(TwoFactorResetFlow.CompletionStatus Status, string Error, DateTime? EffectiveUtc, string OtpauthUri, IReadOnlyList<string> RecoveryCodes, bool SignedOutElsewhere = false)

Parameters

Status TwoFactorResetFlow.CompletionStatus
Error string
EffectiveUtc DateTime?
OtpauthUri string
RecoveryCodes IReadOnlyList<string>
SignedOutElsewhere bool

Whether every game token and every other panel session was revoked. The reset stands either way; the player is told plainly when something may still be signed in.

Properties

EffectiveUtc

public DateTime? EffectiveUtc { get; init; }

Property Value

DateTime?

Error

public string Error { get; init; }

Property Value

string

OtpauthUri

public string OtpauthUri { get; init; }

Property Value

string

RecoveryCodes

public IReadOnlyList<string> RecoveryCodes { get; init; }

Property Value

IReadOnlyList<string>

SignedOutElsewhere

Whether every game token and every other panel session was revoked. The reset stands either way; the player is told plainly when something may still be signed in.

public bool SignedOutElsewhere { get; init; }

Property Value

bool

Status

public TwoFactorResetFlow.CompletionStatus Status { get; init; }

Property Value

TwoFactorResetFlow.CompletionStatus