Password Management

Resetting Account Password

An email will be sent to the user with a link to reset the password. The following method can be called to send the reset password email.

  • email - The email address of the user for which the password needs to be reset.
Factory.userService.sendResetPasswordEmail(_ email: String) -> IVPublisher<Void>

Change User Password

Pre-requisite: The user has to be signed in to perform the following operations.

To change the user password, the following information is typically required:

  • email - The email address of the user
  • oldPassword - The current password
  • newPassword - The new password
Factory.userService.changePassword(email: String, currentPassword: String, newPassword: String) -> IVPublisher<Void>