Skip to main content

Login using plugin cache

AndroidiOSPC

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

During callback, if the NeedNotify field is 1, a pop-up should inform the player that their self-built account will upgrade to LI PASS, and this pop-up must include the business legal terms.

After LoginUsePluginCache interface is successful, login is complete, and compliance process continues.

  1. The email of a registered self-built account will automatically register LI PASS and bind the self-built account’s OpenID to complete LI PASS upgrade.The email not registered with a self-built account will use the email from LoginWithCode/LoginWithPassword to register LI PASS and generate an OpenID.

During the callback, if the NeedNotify field is 1, a prompt needs to be displayed indicating the self-built account will be upgraded to LI PASS, and this prompt must include the business's legal terms.

After LoginUsePluginCache interface is successful, login is complete, and compliance process continues.

Function definition​

public static void LoginUsingPluginCache();

Callback processing​

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

The callback methodID is INTL_AUTH_LOGIN_USING_PLUGIN_CACHE.

Code example​

LevelInfinite.LoginUsePluginCache();