Skip to main content

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

AndroidiOSPC

If you are using Unreal Engine, see RequestFirstSetPassword in the Unreal Engine SDK.

Set the player password upon first login.

Function definition​

public static void RequestFirstSetPassword(int VerifyType,
string VerifyCode,
int AccountType,
string Account,
string PhoneAreaCode,
string Password,
string Uid,
string Token,
string ExtraJson)

Callback processing​

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

Callback ID is kMethodIDAuthFirstSetPassword.

Sample Code​

INTLAPI.RequestFirstSetPassword();

Return values​

Returns the player's Uid and Token data.