Skip to main content

Login and launch the LI PASS binding interface (LoginChannelWithLIPass)

WindowsPS5XSX
If you are using Unreal Engine, see Unreal Engine SDK's LoginChannelWithLIPass.
caution

This interface is only applicable to LI PASS V1.08 and higher versions.Support for PlayStation 5 and Xbox X/S platforms from V1.08, support for PC gaming platforms (Steam/Epic) from V1.10.

This interface encapsulates the following login processes:

  1. Perform account login.
  2. Query the channel binding list for the account.
  3. If the account is entering the game for the first time is_first_call = 1, and has not bound any channel or LI PASS, it will launch the binding LI PASS page, the player can skip directly into the game or bind LI PASS.
  4. Complete login, continue compliance process, then enter the game.

This login process has the following scenarios:

  • Player has bound LI PASS

    Image: LI PASS login logic for console games

  • Player's first login without binding LI PASS

    Image: LI PASS login logic for console games

  • Player's first login without binding LI PASS and skipped binding interface

    Image: LI PASS login logic for console games

Function Definition

public static void LoginChannelWithLIPASS(string channel, string permissions = "", string extraJson = "{}");

Input Parameters

ParameterTypeDescription
channelStringSpecify the login channel.
For more information, see INTLChannel.
permissionsstringPermission application
Mandatory for some channels, such as PlayStation5 channels.
extraJsonstringExtension field

Observers

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

The callback ID is INTL_AUTH_LOGIN_CHANNEL_WITH_LI_PASS.

Code sample

LevelInfinite.LoginChannelWithLIPass(INTLChannel.Xbox);