changeUserPassword
abstract suspend fun changeUserPassword(oldPassword: String, newPassword: String): RainbowResult<Unit>
Changes the password of the logged-in user.
This API does not work if no user is currently logged in.
Return
RainbowResult
Parameters
oldPassword
String The current password.
newPassword
String The new password.