Skip to main content

Retrieve LI PASS UID and Token (GetLIUidAndTokenForAdultCert)

AndroidiOSWindows
If you are using the Unreal Engine, see Unreal Engine SDK's GetLIUidAndTokenForAdultCert.

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();