Login using plugin cache
-
Query the registration status and the agreed legal terms versions of a self-built account or LevelInfinite account with email.
-
Query the player’s authentication status as a minor.
-
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 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.
Function Definition
public static void LoginUsePluginCache();
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();