AuthenticationService v0.3.0+7-g8a7f190
Public Member Functions | Properties | List of all members
Joutsen.AuthenticationService.PasswordChange Class Reference

A class representing the json structure required to change the password of a user. More...

Public Member Functions

 PasswordChange (String username, String password, String newPassword)
 Creates a new instance of the class. More...
 

Properties

String Username [get, set]
 The name of the user for whom to change the password. More...
 
String OldPassword [get, set]
 The old password that authenticates the user. More...
 
String NewPassword [get, set]
 The new password. More...
 

Detailed Description

A class representing the json structure required to change the password of a user.

since 0.3.0

Constructor & Destructor Documentation

◆ PasswordChange()

Joutsen.AuthenticationService.PasswordChange.PasswordChange ( String  username,
String  password,
String  newPassword 
)

Creates a new instance of the class.

Parameters
usernamethe name of the user
passwordthe existing password
newPasswordthe new password

Property Documentation

◆ NewPassword

String Joutsen.AuthenticationService.PasswordChange.NewPassword
getset

The new password.

◆ OldPassword

String Joutsen.AuthenticationService.PasswordChange.OldPassword
getset

The old password that authenticates the user.

◆ Username

String Joutsen.AuthenticationService.PasswordChange.Username
getset

The name of the user for whom to change the password.