Skip to main content

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

AndroidiOSWindows
If you're using Unreal Engine, see the RequestFirstSetPassword for 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.