Provides HIVE SDK initialization and HIVE authentication functions
The HIVE SDK performs initialization based on the xml configuration file.
More...
#include <HIVE_Auth.h>
Public Types | |
typedef std::function< void(ResultAPI const &result, AuthInitResult const &authInitResult)> | onAuthInitialize |
Notify HIVE SDK initialization result listener. More... | |
typedef std::function< void(ResultAPI const &result, LoginType loginType, Account const ¤tAccount, Account const &usedAccount)> | onAuthLogin |
HIVE login result listener. More... | |
typedef std::function< void(ResultAPI const &result)> | onAuthLogout |
HIVE logout result listener. More... | |
typedef std::function< void(ResultAPI const &result)> | onAuthShowTerms |
The result of displaying the terms and conditions. More... | |
typedef std::function< void(ResultAPI const &result, AuthMaintenanceInfo const &authMaintenanceInfo)> | onAuthMaintenance |
Maintenance popup result. More... | |
typedef std::function< void(ResultAPI const &result)> | onAuthAdultConfirm |
Adult verification pop-up result. More... | |
Static Public Member Functions | |
static void | initialize (onAuthInitialize listener) |
Initialize HIVE SDK If the app is launched for the first time, you will be exposed to the terms and acceptance process. More... | |
static LoginType | getLoginType () |
After initializing the SDK, it returns the login information that can be executed according to the existing login information. More... | |
static void | login (LoginType loginType, onAuthLogin listener) |
Request HIVE login according to given login type. More... | |
static void | showLoginSelection (picojson::object currentData, picojson::object selectData, onAuthLogin listener) |
Performing a HIVE login while logged in as a guest may result in account conflicts and require the user to switch HIVE accounts. More... | |
static void | bindLogin (std::string selectedVid, onAuthLogin listener) |
If the user selects one of the conflicting HIVE accounts, the result must be sent to the HIVE authentication server. More... | |
static void | logout (onAuthLogout listener) |
Once you have completed your HIVE login, you are issued a user's unique ID, VID, and session key. More... | |
static Account | getAccount () |
Returns the authentication information of HIVE user. More... | |
static void | showTerms (onAuthShowTerms listener) |
Display HIVE Terms and Conditions. More... | |
static void | checkMaintenance (bool isShow, onAuthMaintenance listener) |
Display the maintenance status and return data. More... | |
static void | showAdultConfirm (onAuthAdultConfirm listener) |
Request adult verification. More... | |
static void | reset () |
Initialize all data used by the SDK, including authentication information. More... | |
static void | requestPermissionViewData (onAuthRequestPermissionViewData listener) |
권한고지 팝업을 구성하기 위한 데이터를 얻습니다. More... | |
static void | executeEngine (picojson::value jsonParam) |
Native 영역에서 호출된 요청을 처리하기 위한 플러그인의 내부 코드 | |
Provides HIVE SDK initialization and HIVE authentication functions
The HIVE SDK performs initialization based on the xml configuration file.
The detailed functions provided by this class are as follows.