Add change password function and handling (#1771)

* added ChangePassword to connectionService

* added changepasswordparams

* added more code

* added more changes to connectionservice

* added more changes

* added small test

* added changepasswordrequest

* added different ServerConnection constructor

* consolidated changepassword

* added exception catch

* added passwordChangeFail params

* added changePassword to it's own function

* simplified changePassword

* made fixes to test

* added new test

* added one additional connection test

* added response callback

* removed unnecessary SendError

* added localized empty password error

* added updated error messages

* added small fix to check

* added changes based on feedback

* added minor change

* fix tests

* renamed messages to errorDetails

* simplified error message

* small change to connectionservice message

* error message change

* added environment newline

* added error retry messages to STS

* added regex

* added newline handling
This commit is contained in:
Alex Ma
2022-12-07 14:24:26 -08:00
committed by GitHub
parent d761e56354
commit 7eee5180a2
9 changed files with 322 additions and 0 deletions

View File

@@ -45,6 +45,20 @@ ConnectionServiceConnStringInvalidIntent(string intent) = Invalid value '{0}' fo
ConnectionServiceConnectionCanceled = Connection canceled
### Password Change
PasswordChangeEmptyPassword = New password cannot be empty
PasswordChangeEmptyPasswordRetry = Press OK to input a new password that is not empty.
PasswordChangeDNMReqs = password does not meet operating system policy requirements
PasswordChangeDNMReqsRetry = Press OK to input a new password that meets operating system policy requirements.
PasswordChangePWCannotBeUsed = password cannot be used at this time
PasswordChangePWCannotBeUsedRetry = Press OK to input a different password.
### Connection Params Validation Errors
ConnectionParamsValidateNullOwnerUri = OwnerUri cannot be null or empty