45#ifndef __HIVE_AUTH_H__
46#define __HIVE_AUTH_H__
50#include "HIVE_PermissionView.h"
205 typedef std::function<void(
ResultAPI const & result,PermissionViewData
const & data)> onAuthRequestPermissionViewData;
425 static bool setEmergencyMode();
487 Account(picojson::value jsonParam);
489 picojson::object toJson()
const;
491 std::string toString()
const;
533 picojson::object toJson()
const;
535 std::string toString()
const;
561 picojson::object toJson()
const;
563 std::string toString()
const;
HIVE authentication user information.
Definition: HIVE_Auth.h:477
std::string did
Unique ID issued to each device.
Definition: HIVE_Auth.h:482
std::string accessToken
Shared session key issued by the HIVE authentication server to verify the validity of the HIVE login.
Definition: HIVE_Auth.h:483
std::string uid
User unique ID for HIVE Social.
Definition: HIVE_Auth.h:481
std::string vid
If you perform HIVE login, the unique ID of the user issued for each game.
Definition: HIVE_Auth.h:480
Provides HIVE SDK initialization and HIVE authentication functions The HIVE SDK performs initializat...
Definition: HIVE_Auth.h:101
static void executeEngine(picojson::value jsonParam)
Native 영역에서 호출된 요청을 처리하기 위한 플러그인의 내부 코드
Information to be delivered when the result is notified after HIVE SDK initialization.
Definition: HIVE_Auth.h:502
std::string did
Unique ID issued by HIVE authentication server in order to check the validity of HIVE login.
Definition: HIVE_Auth.h:523
std::string playerId
Google Play Game Service 사용자 계정 (Android only.)
Definition: HIVE_Auth.h:527
bool isPGSLogin
Google Play Game Service 로그인 가능 여부 (Android only.)
Definition: HIVE_Auth.h:525
std::string playerName
Google Play Game Service 사용자 프로필 명 (Android only.)
Definition: HIVE_Auth.h:526
bool isAuthorized
HIVE (account) login history (True: Has HIVE login history, false: No HIVE login history)
Definition: HIVE_Auth.h:505
LoginType loginType
HIVE Login type If GUEST, login to GUEST If ACCOUNT, DO HIVE login (based on id/password) If SELE...
Definition: HIVE_Auth.h:521
Server maintenance and update status information.
Definition: HIVE_Auth.h:546
int remainingTime
The time in seconds remaining until the maintenance completes if actionType is EXIT....
Definition: HIVE_Auth.h:554
std::string url
URL to be browsed if actionType is OPEN_URL.
Definition: HIVE_Auth.h:553
std::string button
Text for button ex) OK.
Definition: HIVE_Auth.h:551
std::string message
Message.
Definition: HIVE_Auth.h:550
AuthMaintenanceActionType actionType
Actions to be taken when the button is pressed.
Definition: HIVE_Auth.h:552
std::string title
Title.
Definition: HIVE_Auth.h:549
Definition: HIVE_ResultAPI.h:63
AuthMaintenanceActionType
Definition of actions to be taken when the button is pressed on the maintenance popup.
Definition: HIVE_Auth.h:463
LoginType
HIVE login type definition.
Definition: HIVE_Auth.h:445
static void logout(onAuthLogout listener)
Once you have completed your HIVE login, you are issued a user's unique ID, VID, and session key.
static void requestPermissionViewData(onAuthRequestPermissionViewData listener)
권한고지 팝업을 구성하기 위한 데이터를 얻습니다.
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 us...
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 authent...
std::function< void(ResultAPI const &result)> onAuthAdultConfirm
Adult verification pop-up result.
Definition: HIVE_Auth.h:203
static void login(LoginType loginType, onAuthLogin listener)
Request HIVE login according to given login type.
std::function< void(ResultAPI const &result)> onAuthShowTerms
The result of displaying the terms and conditions.
Definition: HIVE_Auth.h:171
static void showTerms(onAuthShowTerms listener)
Display HIVE Terms and Conditions.
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 ...
std::function< void(ResultAPI const &result, AuthInitResult const &authInitResult)> onAuthInitialize
Notify HIVE SDK initialization result listener.
Definition: HIVE_Auth.h:120
std::function< void(ResultAPI const &result, AuthMaintenanceInfo const &authMaintenanceInfo)> onAuthMaintenance
Maintenance popup result.
Definition: HIVE_Auth.h:188
static void checkMaintenance(bool isShow, onAuthMaintenance listener)
Display the maintenance status and return data.
static void reset()
Initialize all data used by the SDK, including authentication information.
std::function< void(ResultAPI const &result, LoginType loginType, Account const ¤tAccount, Account const &usedAccount)> onAuthLogin
HIVE login result listener.
Definition: HIVE_Auth.h:141
static LoginType getLoginType()
After initializing the SDK, it returns the login information that can be executed according to the ex...
static Account getAccount()
Returns the authentication information of HIVE user.
std::function< void(ResultAPI const &result)> onAuthLogout
HIVE logout result listener.
Definition: HIVE_Auth.h:156
static void showAdultConfirm(onAuthAdultConfirm listener)
Request adult verification.
@ OPEN_URL
외부 부라우저로 전달된 url 을 실행
@ SELECT
계정 충돌로 인한 유저 선택이 필요한 경우
@ AUTO
게스트 로그인이나 HIVE 로그인되어 있는 상태 (단말에 세션키가 남아 있는 상태)