resetPassword

abstract suspend fun resetPassword(email: String?, newPassword: String?, token: String?): RainbowResult<Unit>

Finalizes user password reinitialization. This method serves as the concluding step following the user password reinitialization initiated via startResetPassword.

Upon obtaining the 6-digit code via email, use this method to complete the password reset process.

Return

RainbowResult callback invoked upon completion of the operation.

Parameters

email

String The user's login.

newPassword

String The new password you want to use.

token

String The validation code received by email in the previous step.