HIVE SDK for Unity3D

Public Member Functions | Static Public Member Functions | List of all members
hive.Auth Class Reference

Provides HIVE SDK initialization and HIVE authentication functions
The HIVE SDK performs initialization based on the xml configuration file. More...

Public Member Functions

delegate void onAuthInitialize (ResultAPI result, AuthInitResult authInitResult)
 Notify HIVE SDK initialization result listener.
 
delegate void onAuthLogin (ResultAPI result, LoginType loginType, Account currentAccount, Account usedAccount)
 HIVE login result listener.
 
delegate void onAuthLogout (ResultAPI result)
 HIVE logout result listener.
 
delegate void onAuthShowTerms (ResultAPI result)
 The result of displaying the terms and conditions.
 
delegate void onAuthMaintenance (ResultAPI result, AuthMaintenanceInfo authMaintenanceInfo)
 Maintenance popup result.
 
delegate void onAuthAdultConfirm (ResultAPI result)
 Adult verification pop-up result.
 

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.
 
static LoginType getLoginType ()
 After initializing the SDK, it returns the login information that can be executed according to the existing login information.
 
static void login (LoginType loginType, onAuthLogin listener)
 Request HIVE login according to given login type.
 
static void showLoginSelection (JSONObject currentVidData, JSONObject usedVidData, 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.
 
static void bindLogin (String selectedVid, onAuthLogin listener)
 If the user selects one of the conflicting HIVE accounts, the result must be sent to the HIVE authentication server.
 
static void logout (onAuthLogout listener)
 
static Account getAccount ()
 Returns the authentication information of HIVE user.
 
static void showTerms (onAuthShowTerms listener)
 Display HIVE Terms and Conditions.
 
static void checkMaintenance (Boolean isShow, onAuthMaintenance listener)
 Display the maintenance status and return data.
 
static void showAdultConfirm (onAuthAdultConfirm listener)
 Request adult verification.
 
static void reset ()
 Initialize all data used by the SDK, including authentication information.
 
static void requestPermissionViewData (onAuthRequestPermissionViewData listener)
 권한고지 팝업을 구성하기 위한 데이터를 얻습니다.
 

Detailed Description

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.

Since
4.0.0
Author
ryuvsken

The documentation for this class was generated from the following file:
Copyright © Com2uS Platform Corporation. All Right Reserved. Terms of Use Privacy Policy