ResetPasswordWithOldPassword
AndroidiOSWindows
If you were looking for the method for use with Unity, see ResetPasswordWithOldPassword for Unity SDK.
If you were looking for the method for use with Unity, see ResetPasswordWithOldPassword for Unity SDK.
Function definition
UFUNCTION(BlueprintCallable, Category = "INTLSDKAPI")
static bool ResetPasswordWithOldPassword(
const FString Account,
const FString OldPassword,
const FString PhoneAreaCode,
const FString NewPassword,
const FString ExtraJson = "{}");
Input parameters
Parameter | Type | Description |
---|---|---|
Account | FString | Account, which can be registered with an email address or phone number. |
OldPassword | FString | Old password |
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. |
ExtraJson | FString | Extended information |
Observers
The callback processing interface is AuthAccountResultObserver. The callback data structure is AccountResult.
The callback methodID is kMethodIDAuthResetPassword
.
Code sample
UINTLSDKAPI::ResetPasswordWithOldPassword("youremail@sample.com", "oldpassword", "", "newpassword");