Skip to main content

Retrieve LI PASS UID and Token (GetLIUidAndTokenForAdultCert)

AndroidiOSWindows
If you are using the Unity engine, see GetLIUidAndTokenForAdultCert in the Unity 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

UFUNCTION(BlueprintCallable, Category = "LevelInfinite")
static void GetLIUidAndTokenForAdultCert();

Observers

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

The callback method ID is kMethodIDAuthGetLIUidAndTokenForCert.

Code sample

ULevelInfiniteAPI::GetLIUidAndTokenForAdultCert();