startResetPassword

abstract fun startResetPassword(email: String?, lang: String?, listener: RainbowListener<Unit, Unit>? = null)

Facilitates user password reinitialization, a two-step process:

  1. First step: Initiate password reinitialization by invoking this API method. An e-mail is sent to the provided email address.

  2. Second step: To complete password reinitialization, use the resetPassword method and provide the code received by email.

Parameters

email

String The email where the verification code will be sent.

lang

String (optional) The language used to translate the email text. Should use the format defined by ISO 639-1. The device's local language is used if this parameter is not specified.

listener

RainbowListener (optional) callback invoked upon completion of the operation. Set to null if not required.