Skip to main content
Version: 5.7.0

ResetEmailPasswordWithExpiry

Sends a password reset email to the specified address. Allows the developer to specify how long the URL is valid for (in minutes).

ServiceOperation
authenticationV2RESET_EMAIL_PASSWORD_WITH_EXPIRY

Method Parameters

ParameterDescription
emailAddressThe email address to send the reset email to.
tokenTtlInMinutesThe time-to-live for the password reset url, in minutes.

Usage

http://localhost:3000
string emailAddress = "email@email.com";
int tokenTtlInMinutes = 1440;
SuccessCallback successCallback = (response, cbObject) =>
{
Debug.Log(string.Format("Success | {0}", response));
};
FailureCallback failureCallback = (status, code, error, cbObject) =>
{
Debug.Log(string.Format("Failed | {0} {1} {2}", status, code, error));
};

_bc.AuthenticationService.ResetEmailPasswordWithExpiry(emailAddress, tokenTtlInMinutes, successCallback, failureCallback);
JSON Response
{
"status": 200,
"data": null
}