Table of Contents

Struct TwoFactorRecoveryCodeData

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

Data transfer object for a two-factor recovery code record.

public struct TwoFactorRecoveryCodeData
Inherited Members

Constructors

TwoFactorRecoveryCodeData(long, string, string, DateTime?, DateTime)

public TwoFactorRecoveryCodeData(long id, string accountName, string codeHash, DateTime? usedAt, DateTime timeCreated)

Parameters

id long
accountName string
codeHash string
usedAt DateTime?
timeCreated DateTime

Fields

AccountName

public readonly string AccountName

Field Value

string

CodeHash

public readonly string CodeHash

Field Value

string

ID

public readonly long ID

Field Value

long

TimeCreated

public readonly DateTime TimeCreated

Field Value

DateTime

UsedAt

public readonly DateTime? UsedAt

Field Value

DateTime?