Method UpdatePasswordAsync
UpdatePasswordAsync(string, string)
Update Password credentials for username/password user.
Declaration
Task UpdatePasswordAsync(string currentPassword, string newPassword)
Parameters
Type | Name | Description |
---|---|---|
string | currentPassword | Current 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. |
string | newPassword | New 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.
|