Skip to main content

Retrieve LI PASS UID and Token (GetLIUidAndTokenForAdultCert)

AndroidiOSPC

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

After logging in through a third-party channel account, call the GetLIUidAndTokenForAdultCert interface to obtain LI PASS information and corresponding minor certification information.LI PASS login does not require calling this interface.

Function definition​

public static void GetLIUidAndTokenForAdultCert();

Observers​

The callback interface is AuthAccountResultObserver.The callback data structure is AccountResult.

The callback method ID is INTL_AUTH_GET_LI_UID_AND_TOKEN.

Code sample​

LevelInfinite.GetLIUidAndTokenForAdultCert();