Skip to main content

RequestFirstSetPassword

AndroidiOSWindowsIf you were looking for the method for use with Unreal Engine, see RequestFirstSetPassword for Unreal Engine SDK.

Set a player password when logging in for the first time

function

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

Observers

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

The callback methodID is kMethodIDAuthFirstSetPassword

Code sample

INTLAPI.RequestFirstSetPassword();

Return value

Returns player Uid and Token data