AbstractAbstractexecuteExecutes the operation asynchronously.
AbstractusernameThe username whose password must be changed.
Providing the username is required.
The username is the technical user identifier stored in the Account.username property. Do not provide the login identifier (for example the user's email address) here. We recommend always using the username provided via LocalData.accounts.
the username.
a PasswordChange object.
AbstractpasswordSpecifies the object that will be informed of the potential recoverable errors and is responsible for obtaining the password from the end-user.
Providing the passwordChanger is required.
the PasswordChanger
a PasswordChange object.
AbstractonSpecifies the object that will be invoked if the password was successfully modified.
Providing the onSuccess callback is required.
the callback which is invoked on successful password modification.
a PasswordChange object.
AbstractonSpecifies the object that will be invoked when the password could not be changed: the password was not enrolled, the password is locked or the operation was canceled.
Providing the onError callback is required.
the callback which receives a PasswordChangeError.
a PasswordChange object.
The object that can be used to change the password.
Usage example: