Table of Contents

Class TwoFactorResetRequestData

Namespace
FishMMO.Database.Data
Assembly
FishMMO-DB.dll

A delayed two-factor reset request.

public sealed class TwoFactorResetRequestData
Inheritance
TwoFactorResetRequestData
Inherited Members

Properties

AccountName

The account, lowercase.

public string AccountName { get; set; }

Property Value

string

EffectiveUtc

When it may be completed.

public DateTime EffectiveUtc { get; set; }

Property Value

DateTime

ID

Surrogate key.

public long ID { get; set; }

Property Value

long

IsEffective

Whether it was pending and past its effective time when read.

public bool IsEffective { get; set; }

Property Value

bool

Remarks

Computed from the reader's clock, not stored, for the same reason an expiry flag is not stored. It is advisory: CompleteAsync re-tests both conditions in its own UPDATE, and that is the only check that decides anything.

RequestedIp

Client address that asked, or null.

public string? RequestedIp { get; set; }

Property Value

string

RequestedUtc

When it was asked for.

public DateTime RequestedUtc { get; set; }

Property Value

DateTime

ResolvedBy

Who cancelled or completed it: a staff account, or the account itself.

public string? ResolvedBy { get; set; }

Property Value

string

ResolvedUtc

When it was cancelled or completed.

public DateTime? ResolvedUtc { get; set; }

Property Value

DateTime?

ShortenedBy

The staff account that last brought it forward.

public string? ShortenedBy { get; set; }

Property Value

string

ShortenedUtc

When staff last brought it forward.

public DateTime? ShortenedUtc { get; set; }

Property Value

DateTime?

StaffReason

Why staff last shortened or cancelled it.

public string? StaffReason { get; set; }

Property Value

string

Status

Where the request has got to.

public TwoFactorResetStatus Status { get; set; }

Property Value

TwoFactorResetStatus

Version

The row's xmin, widened to long because Npgsql cannot bind a uint.

public long Version { get; set; }

Property Value

long