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
Age
Account holder age, for compliance.
public int Age { get; set; }
Property Value
BetaCode
Optional beta code. Required while the beta gate is on.
public string BetaCode { get; set; }
Property Value
Country
Optional country or region.
public string Country { get; set; }
Property Value
DiscordUsername
Optional Discord username, as fishfan or FishFan#1234. Required when verifying by Discord.
public string DiscordUsername { get; set; }
Property Value
Contact email for verification.
public string Email { get; set; }
Property Value
EnableTwoFactor
Set up an authenticator (two-factor) on the new account. Opt-in: absent means no.
public bool EnableTwoFactor { get; set; }
Property Value
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
FormToken
The signed token from register/form.
public string FormToken { get; set; }
Property Value
Phone
Optional phone number, with its country code. Required when verifying by SMS.
public string Phone { get; set; }
Property Value
RealName
Optional real name.
public string RealName { get; set; }
Property Value
ReferralAccount
Optional name of the account that referred this one.
public string ReferralAccount { get; set; }
Property Value
Salt
SRP salt, computed in the browser.
public string Salt { get; set; }
Property Value
Username
Account name.
public string Username { get; set; }
Property Value
Verifier
SRP verifier, computed in the browser.
public string Verifier { get; set; }
Property Value
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
VerifyEmail
Verify with an emailed code. Choosing no channel means email.
public bool VerifyEmail { get; set; }
Property Value
VerifySms
Verify with a texted code. Needs Phone.
public bool VerifySms { get; set; }