Class UsernamePasswordPasswordUpdateRequest
Request for updating the password of a player using a Username Password account.
Inherited Members
Namespace: Unity.Services.Apis.PlayerAuthentication
Assembly: Unity.Services.Apis.dll
Syntax
[DataContract(Name = "UsernamePasswordPasswordUpdateRequest")]
[Preserve]
public class UsernamePasswordPasswordUpdateRequestConstructors
UsernamePasswordPasswordUpdateRequest(string, string)
Initializes a new instance of the UsernamePasswordPasswordUpdateRequest class.
Declaration
[Preserve]
public UsernamePasswordPasswordUpdateRequest(string password = null, string newPassword = null)Parameters
| Type | Name | Description | 
|---|---|---|
| string | password | The password. Length must be between 8-30 and contain at least one uppercase letter, at least one lowercase letter, at least one number and at least one symbol. (required). | 
| string | newPassword | The password to be changed. Length must be between 8-30 and contain at least one uppercase letter, at least one lowercase letter, at least one number and at least one symbol. (required). | 
Properties
NewPassword
The password to be changed. Length must be between 8-30 and contain at least one uppercase letter, at least one lowercase letter, at least one number and at least one symbol.
Declaration
[DataMember(Name = "newPassword", IsRequired = true, EmitDefaultValue = true)]
[Preserve]
public string NewPassword { get; set; }Property Value
| Type | Description | 
|---|---|
| string | The password to be changed. Length must be between 8-30 and contain at least one uppercase letter, at least one lowercase letter, at least one number and at least one symbol. | 
Password
The password. Length must be between 8-30 and contain at least one uppercase letter, at least one lowercase letter, at least one number and at least one symbol.
Declaration
[DataMember(Name = "password", IsRequired = true, EmitDefaultValue = true)]
[Preserve]
public string Password { get; set; }Property Value
| Type | Description | 
|---|---|
| string | The password. Length must be between 8-30 and contain at least one uppercase letter, at least one lowercase letter, at least one number and at least one symbol. |