ProjectVPasswordRegistrationInput class
What the player typed into the register form.
Namespace: SilverTiger.ProjectV.Unity.Presentation.Authentication
public sealed class ProjectVPasswordRegistrationInput
Constructors
ProjectVPasswordRegistrationInput(string username, string password, string? email, string? displayName)
Creates the register form input.
public ProjectVPasswordRegistrationInput(string username, string password, string? email = null, string? displayName = null);
Parameters
| Name | Type | Description |
|---|---|---|
username | string | The username to register; must not be null or blank. |
password | string | The password to register; must not be null or empty. |
email | string? | The player's email address, or null to skip it. |
displayName | string? | The name other players see, or null to skip it. |
Exceptions
| Exception | When |
|---|---|
ArgumentNullException | username or password is null. |
Properties
| Property | Type | Description |
|---|---|---|
Username | string | The username to register. |
Password | string | The password to register. Never show or log it. |
Email | string? | The player's email address, or null. |
DisplayName | string? | The name other players see, or null. |