Table of Contents

Class AccountController.RegisterRequest

Namespace
FishMMO.ControlPanel.Controllers
Assembly
FishMMO-ControlPanel.dll

Registration request. Carries a salt and verifier, never a password.

public sealed class AccountController.RegisterRequest
Inheritance
AccountController.RegisterRequest
Inherited Members

Properties

Address

Optional postal address.

public string Address { get; set; }

Property Value

string

Age

Account holder age, for compliance.

public int Age { get; set; }

Property Value

int

BetaCode

Optional beta code. Required while the beta gate is on.

public string BetaCode { get; set; }

Property Value

string

Country

Optional country or region.

public string Country { get; set; }

Property Value

string

DiscordUsername

Optional Discord username, as fishfan or FishFan#1234. Required when verifying by Discord.

public string DiscordUsername { get; set; }

Property Value

string

Email

Contact email for verification.

public string Email { get; set; }

Property Value

string

EnableTwoFactor

Set up an authenticator (two-factor) on the new account. Opt-in: absent means no.

public bool EnableTwoFactor { get; set; }

Property Value

bool

Extra

Every body property this model does not name — which is where the randomised decoy fields arrive, under names only the token knows.

[JsonExtensionData]
public Dictionary<string, JsonElement> Extra { get; set; }

Property Value

Dictionary<string, JsonElement>

FormToken

The signed token from register/form.

public string FormToken { get; set; }

Property Value

string

Phone

Optional phone number, with its country code. Required when verifying by SMS.

public string Phone { get; set; }

Property Value

string

RealName

Optional real name.

public string RealName { get; set; }

Property Value

string

ReferralAccount

Optional name of the account that referred this one.

public string ReferralAccount { get; set; }

Property Value

string

Salt

SRP salt, computed in the browser.

public string Salt { get; set; }

Property Value

string

Username

Account name.

public string Username { get; set; }

Property Value

string

Verifier

SRP verifier, computed in the browser.

public string Verifier { get; set; }

Property Value

string

VerifyDiscord

Verify with a code sent once as a Discord DM by the game's bot. Needs DiscordUsername.

public bool VerifyDiscord { get; set; }

Property Value

bool

VerifyEmail

Verify with an emailed code. Choosing no channel means email.

public bool VerifyEmail { get; set; }

Property Value

bool

VerifySms

Verify with a texted code. Needs Phone.

public bool VerifySms { get; set; }

Property Value

bool