Struct SrpAuthenticatorCore<TConnection>.SrpAccountLookupResult
- Namespace
- FishMMO.Auth.Implementation
- Assembly
- FishMMO-ServerAuth.dll
Result of an account fetch for SRP login.
public struct SrpAuthenticatorCore<TConnection>.SrpAccountLookupResult
- Inherited Members
Fields
AccessLevel
Account access level.
public AccessLevel AccessLevel
Field Value
AccountName
The canonical account name, when the lookup was by email or case differs. Keys the database-backed lockout and the beta gate, and is the identity a successful proof signs in as: the token, and everything the world server keys by account, carry this name, never the typed identifier. Null means "use the identifier".
public string? AccountName
Field Value
DiscordVerificationCodeOwed
For an unverified account: whether it is owed a Discord code that has never been issued. See TryIssueDiscordVerificationCodeAsync(string).
public bool DiscordVerificationCodeOwed
Field Value
EmailVerificationPending
For an unverified account: whether the email code is outstanding.
public bool EmailVerificationPending
Field Value
IsServerError
Set with IsSuccess false when the lookup failed because the database could not be read, as opposed to there being no such account. Answered ServerBusy instead of through the fake-salt path, so a fault is never counted as a wrong password.
public bool IsServerError
Field Value
IsSuccess
Whether the account was found and fetchable.
public bool IsSuccess
Field Value
IsVerified
Whether the account may sign in without a code: verified, or not asked for one by this server.
public bool IsVerified
Field Value
PhoneVerificationPending
For an unverified account: whether the SMS code is outstanding.
public bool PhoneVerificationPending
Field Value
PhoneVerifyCodeExpiresUtc
UTC expiry for the SMS verification code; null when none has been issued.
public DateTime? PhoneVerifyCodeExpiresUtc
Field Value
Salt
SRP salt.
public string Salt
Field Value
TotpEnabled
Whether TOTP is enabled for this account.
public bool TotpEnabled
Field Value
Verifier
SRP verifier.
public string Verifier
Field Value
VerifyCodeExpiresUtc
UTC expiry for the verification code (null if not applicable).
public DateTime? VerifyCodeExpiresUtc