Skip to main content

ResetPasswordWithVerifyCode

AndroidiOSWindows
If you were looking for the method for use with Unity, see ResetPasswordWithVerifyCode for Unity SDK.

Function definition​

UFUNCTION(BlueprintCallable, Category = "INTLSDKAPI")
static bool ResetPasswordWithVerifyCode(
const FString Account,
const FString VerifyCode,
const FString PhoneAreaCode,
const FString NewPassword);

Input parameters​

ParameterTypeDescription
AccountFStringAccount, which can be registered with an email address or phone number.
VerifyCodeFStringVerification code
PhoneAreaCodeFStringPhone area code, such as "86" for China. If you register an account with an email address, the field is left empty.
NewPasswordFStringNew password. For more information, see Password Rules.

Observers​

The callback processing interface is AuthAccountResultObserver. The callback data structure is AccountResult.

The callback methodID is kMethodIDAuthResetPassword.

Code sample​

UINTLSDKAPI::ResetPasswordWithVerifyCode("youremail@sample.com", "12345", "",  "newpassword");