ResetPasswordWithVerifyCode
AndroidiOSWindows
If you were looking for the method for use with Unity, see ResetPasswordWithVerifyCode for Unity SDK.
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
Parameter | Type | Description |
---|---|---|
Account | FString | Account, which can be registered with an email address or phone number. |
VerifyCode | FString | Verification code |
PhoneAreaCode | FString | Phone area code, such as "86" for China. If you register an account with an email address, the field is left empty. |
NewPassword | FString | New 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");