Method AddUsernamePasswordAsync
AddUsernamePasswordAsync(string, string)
Sign up with a new Username/Password and add it to the current logged in user.
Declaration
Task AddUsernamePasswordAsync(string username, string password)
Parameters
Type | Name | Description |
---|---|---|
string | username | Username of the player. Note that it must be unique per project and contains 3-20 characters of alphanumeric and/or these special characters [. - @ _]. |
string | password | Password of the player. Note that it must contain 8-30 characters with at least 1 upper case, 1 lower case, 1 number, and 1 special character. |
Returns
Type | Description |
---|---|
Task | Task for the operation |
Exceptions
Type | Condition |
---|---|
AuthenticationException | The task fails with the exception when the task cannot complete successfully due to Authentication specific errors.
|
RequestFailedException | The task fails with the exception when the task cannot complete successfully.
|