Reset Password with Verification Code (ResetPasswordWithVerifyCode)
Function Definition
UFUNCTION(BlueprintCallable, Category = "INTLSDKAPI")
static bool ResetPasswordWithVerifyCode(
const FString Account,
const FString VerifyCode,
const FString PhoneAreaCode,
const FString NewPassword);
Parameter Instructions
| Parameters | Type | Explanation |
|---|---|---|
| Account | FString | Account can be registered with email and phone number |
| VerifyCode | FString | Verification Code |
| PhoneAreaCode | FString | Phone area code, for instance "86" for China.If registered with an email address, this field is empty. |
| NewPassword | FString | New password.For more information, see Password Guidelines. |
Observers
The callback processing interface is AuthAccountResultObserver.The callback data structure is AccountResult.
Callback ID is kMethodIDAuthResetPassword.
Code example
UINTLSDKAPI::ResetPasswordWithVerifyCode("youremail@sample.com", "12345", "", "newpassword");