ChangePasswordScreenViewModel
class ChangePasswordScreenViewModel(changeUserPassword: ChangeUserPassword, validateUserPassword: ValidateUserPassword, router: Router) : ViewModel
Constructors
Link copied to clipboard
constructor(changeUserPassword: ChangeUserPassword, validateUserPassword: ValidateUserPassword, router: Router)
Functions
Link copied to clipboard
Link copied to clipboard
Sets the current password (currentPassword) used by the user to allow the change of password with the submit method
Link copied to clipboard
Sets the new password (newPassword) wanted by the user to allow the change of password with the submit method
Link copied to clipboard
Submits the change password form using the current user password and the new password provided with setCurrentPassword and setNewPassword.