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 callback invoked upon completion of the operation.

Parameters

oldPassword

String The current password.

newPassword

String The new password.