Skip to main content

Request to set the initial password and log in (RequestFirstSetPassword)

AndroidiOSWindows
If you're using the Unity engine, see the RequestFirstSetPassword for Unity SDK.

Set the player password during the first login.

Function Definition

UFUNCTION(BlueprintCallable, Category = "INTLSDKAPI")
static void UINTLSDKAPI::RequestFirstSetPassword(const int32 VerifyType,
const FString VerifyCode,
const int32 AccountType,
const FString Account,
const FString PhoneAreaCode,
const FString Password,
const FString Uid,
const FString Token,
const FString ExtraJson)

Callback processing

The callback processing interface is AuthResultObserver.The callback data structure is AuthResult.

Callback ID is kMethodIDAuthFirstSetPassword.

Sample Code

UINTLSDKAPI::RequestFirstSetPassword();

Return values

Returns the player's Uid and Token data.