|
AuthenticationService
v0.2.0
|
A class representing the json data structure to modify a user. More...
Public Member Functions | |
| UserModification (String username, bool? active=null, String newUsername=null) | |
| Creates a new instance. More... | |
| ErrorMessage | Validate () |
| Validates the state of the model. More... | |
Public Attributes | |
| const String | VALIDATION_ERROR_MESSAGE = "The newUsername or active is required and cannnot be empty or consist only of whitespaces." |
Properties | |
| bool | IsActive [get] |
| THe new active state of the user. More... | |
| String | Username [get] |
| The name identifying the user. More... | |
| String | NewUsername [get] |
| The name the username is changed to. More... | |
A class representing the json data structure to modify a user.
| Joutsen.AuthenticationService.UserModification.UserModification | ( | String | username, |
| bool? | active = null, |
||
| String | newUsername = null |
||
| ) |
Creates a new instance.
| ErrorMessage Joutsen.AuthenticationService.UserModification.Validate | ( | ) |
Validates the state of the model.
Implements Joutsen.AuthenticationService.ValidatableModel.
| const String Joutsen.AuthenticationService.UserModification.VALIDATION_ERROR_MESSAGE = "The newUsername or active is required and cannnot be empty or consist only of whitespaces." |
|
get |
THe new active state of the user.
|
get |
The name the username is changed to.
|
get |
The name identifying the user.
1.8.13