resetPasswordForEmail

abstract suspend fun resetPasswordForEmail(email: String, redirectUrl: String? = defaultRedirectUrl(), captchaToken: String? = null)(source)

Sends a password reset email to the user with the specified email

Parameters

email

The email to send the password reset email to

redirectUrl

The redirect url to use. If you don't specify this, the platform specific will be used, like deeplinks on android.

Throws

or one of its subclasses if receiving an error response. If the error response contains a error code, an AuthRestException will be thrown which can be used to easier identify the problem.

HttpRequestTimeoutException

if the request timed out

on network related issues