HIVE SDK for C++

HIVE_AuthV4.h
Go to the documentation of this file.
1
45#ifndef __HIVE_AUTHV4_H__
46#define __HIVE_AUTHV4_H__
47
48#include "HIVE_ResultAPI.h"
49#include "HIVE_Auth.h"
50#include <memory>
51#include <map>
52#include "HIVE_PermissionView.h"
53
54NS_HIVE_BEGIN
55
70enum class ProviderType {
71 GUEST = 0
72 ,HIVE
73 ,FACEBOOK
74 ,GOOGLE
75 ,QQ
76 ,WEIBO
77 ,VK
78 ,WECHAT
79 ,APPLE
80 ,SIGNIN_APPLE
81 ,LINE
82 ,TWITTER
83 ,WEVERSE
84 ,NAVER
85 ,GOOGLE_PLAY_GAMES = 14
86 ,HUAWEI = 15
87 ,CUSTOM = 98
88 ,AUTO = 99
89};
90
109 OPEN_URL = 1
110 ,EXIT
111 ,DONE
112};
113
114typedef long long PlayerID; //64 bit data type
115
116class PlayerInfo;
117class ProfileInfo;
118class ProviderInfo;
120class IConflictViewInfo;
121class ConflictSingleViewInfo;
122
123class HIVESDK_DLLEXPORT AuthV4 {
124
125public:
126
152 typedef std::function<void(ResultAPI const & result,bool isAutoSignIn,std::string did,std::vector<ProviderType> const & providerTypeList )> onSetup;
153
154
182 typedef std::function<void(ResultAPI const & result,PlayerInfo const & playerInfo)> onSignIn;
183
184
185
203 typedef std::function<void(ResultAPI const & result)> onSignOut;
204
205
239 typedef std::function<void(ResultAPI const & result,PlayerInfo const & conflictPlayer)> onConnect;
240
241
264 typedef std::function<void(ResultAPI const & result)> onDisconnect;
265
266
285 typedef std::function<void(ResultAPI const & result)> onShowTerms;
286
307 typedef std::function<void(ResultAPI const & result)> onAdultConfirm;
308
309
332 typedef std::function<void(ResultAPI const & result,ProviderInfo const & providerInfo)> onCheckProvider;
333
334
361 typedef std::function<void(ResultAPI const & result,std::vector<AuthV4MaintenanceInfo> const & maintenanceInfolist)> onMaintenance;
362
386 typedef std::function<void(ResultAPI const & result,std::vector<ProfileInfo> const & profileInfoList)> onGetProfile;
387
408 typedef std::function<void(ResultAPI const & result)> onShowProfile;
409
410
430 typedef std::function<void(ResultAPI const & result)> onShowInquiry;
431
451 typedef std::function<void(ResultAPI const & result)> onShowChatbotInquiry;
452
453
473 typedef std::function<void(ResultAPI const & result)> onShowMyInquiry;
474
495 typedef std::function<void(ResultAPI const & result,ProviderType providerType,std::map<std::string,PlayerID> providerUserIdList)> onGetProviderFriendsList;
496
516 typedef std::function<void(ResultAPI const & result)> onResolveConflict;
517
518 //4.7.0_ADDED
531 typedef std::function<void(bool isDismiss)> onAuthV4DialogDismiss;
532
533 typedef std::function<void(ResultAPI const & result,PermissionViewData const & data)> onAuthV4RequestPermissionViewData;
534
554 typedef std::function<void(ResultAPI const & result)> onShowDeviceManagement;
555
571 typedef std::function<void(ResultAPI const & result, std::string loginToken)> onGetHiveTalkPlusLoginToken;
572
622 static void setup(onSetup setupListener);
623
670 static void signIn(ProviderType providerType, onSignIn signInListener);
671
690 static void signInWithAuthKey(std::string authKey, onSignIn signInListener);
691
692
715 static void signOut(onSignOut signOutListener);
716
717
739 static void playerDelete(onSignOut playerDeleteListener);
740
741
808 static void connect(ProviderType providerType, onConnect connectListener);
809
810
846 static void disconnect(ProviderType providerType, onDisconnect disconnectListener);
847
898 static void connectWithAuthKey(std::string authKey, onConnect connectListener);
899
900
936 static void disconnectWithName(std::string providerName, onDisconnect disconnectListener);
937
971 static void selectConflict(PlayerID selectedPlayerId, onSignIn signInListener);
972
973
1009 static void checkProvider(ProviderType providerType, onCheckProvider checkProviderListener);
1010
1011
1047 static void checkMaintenance(bool isShow, onMaintenance maintenanceListener);
1048
1049
1081 static void checkBlacklist(bool isShow, onMaintenance maintenanceListener);
1082
1083
1111 static void setProviderChangedListener(onCheckProvider checkProviderLisener);
1112
1113
1135 static void showSignIn(onSignIn signInListener);
1136
1137
1171 static void showConflictSelection(IConflictViewInfo const& viewInfo,onSignIn signInListener);
1172
1192 static void showInquiry(onShowInquiry showInquiryListener);
1193
1210 static void showChatbotInquiry(std::string additionalInfo, onShowChatbotInquiry showChatbotInquiryListener);
1211
1212
1230 static void showMyInquiry(onShowMyInquiry showInquiryListener);
1231
1255 static void showTerms(onShowTerms showTermsListener);
1256
1278 static void showAdultConfirm(onAdultConfirm adultConfirmListener);
1279
1301 static void getProfile(std::vector<PlayerID> playerIdList, onGetProfile getProfileListener);
1302
1326 static void showProfile(PlayerID playerId, onShowProfile showProfileListener);
1327
1341 static void reset();
1342
1343
1377 static bool isAutoSignIn();
1378
1379
1405
1430 static void getProviderFriendsList(ProviderType providerType, onGetProviderFriendsList getProviderFriendsListListener);
1431
1461 static void resolveConflict(onResolveConflict resolveConflictListener);
1462
1463 //4.7.0_ADDED
1464 static void showGameCenterLoginCancelDialog(onAuthV4DialogDismiss listener);
1465
1484 static bool getAgeGateU13();
1485
1500 static void requestPermissionViewData(onAuthV4RequestPermissionViewData listener);
1501
1519 static void showDeviceManagement(onShowDeviceManagement showDeviceManagementListener);
1520
1536 static void getHiveTalkPlusLoginToken(onGetHiveTalkPlusLoginToken getHiveTalkPlusLoginTokenListener);
1537
1538 // Native 영역에서 호출된 요청을 처리하기 위한 플러그인 내부 코드
1539 static void executeEngine(picojson::value jsonParam);
1540
1575 class HIVESDK_DLLEXPORT Helper {
1576 public:
1577 // MARK: typedef
1762 typedef std::function<void(ResultAPI const & result,std::shared_ptr<PlayerInfo> playerInfo)> onAuthV4Helper;
1763 // MARK: Main interfaces
1861 static void syncAccount(ProviderType providerType, onAuthV4Helper listener);
1862
1976 static void signIn(onAuthV4Helper listener);
2046 static void signOut(onAuthV4Helper listener);
2047
2117 static void playerDelete(onAuthV4Helper listener);
2118
2219 static void connect(ProviderType providerType, onAuthV4Helper listener);
2300 static void disconnect(ProviderType providerType, onAuthV4Helper listener);
2408 static void showAchievements(onAuthV4Helper listener);
2515 static void showLeaderboard(onAuthV4Helper listener);
2516
2597 static void achievementsReveal(const std::string achievementId, onAuthV4Helper listener);
2598
2679 static void achievementsUnlock(const std::string achievementId, onAuthV4Helper listener);
2680
2765 static void achievementsIncrement(const std::string achievementId, const int value, onAuthV4Helper listener);
2766
2849 static void leaderboardsSubmitScore(const std::string leaderboardId, const long long score, onAuthV4Helper listener);
2850
2911 static void showConflict(onAuthV4Helper listener);
2978 static void showConflict(ConflictSingleViewInfo const & viewInfo,onAuthV4Helper listener);
3021 static void switchAccount(onAuthV4Helper listener);
3064 static void resolveConflict(onAuthV4Helper listener);
3077 static std::vector<ProviderType> getIDPList();
3078 // MARK: Support interfaces
3097 static void showGameCenterLoginCancelDialog(onAuthV4DialogDismiss listener);
3098
3099 static void executeEngine(picojson::value jsonParam);
3100 };
3101};
3102
3103class HIVESDK_DLLEXPORT IConflictViewInfo {
3104public:
3105 virtual ~IConflictViewInfo(){}
3106 virtual std::string toJsonConflict() const = 0;
3107 virtual std::string toJsonCurrent() const = 0;
3108};
3109
3110class HIVESDK_DLLEXPORT ConflictSingleViewInfo : public IConflictViewInfo{
3111public:
3116 ConflictSingleViewInfo(hive::PlayerID playerId);
3117 virtual ~ConflictSingleViewInfo();
3118
3119 void SetValue(const std::string key,const long long playerData);
3120 void SetValue(const std::string key,const double playerData);
3121 void SetValue(const std::string key,const std::string playerData);
3122 void SetCharValue(const char* key, const char* playerData);
3123
3124 std::string toJsonConflict() const override;
3125 std::string toJsonCurrent() const override;
3126private:
3127 std::string jsonData;
3128};
3129
3133class HIVESDK_DLLEXPORT ConflictViewInfo : public IConflictViewInfo{
3134public:
3140 ConflictViewInfo(hive::PlayerID currentPlayerId, hive::PlayerID conflictPlayerId);
3141 virtual ~ConflictViewInfo();
3142
3143 void SetValue(const std::string key,const long long currentPlayerData,const long long conflictPlayerData);
3144 void SetValue(const std::string key,const double currentPlayerData,const double conflictPlayerData);
3145 void SetValue(const std::string key,const std::string currentPlayerData,const std::string conflictPlayerData);
3146 void SetCharValue(const char* key, const char* currentPlayerData, const char* conflictPlayerData);
3147
3148 std::string toJsonConflict() const override;
3149 std::string toJsonCurrent() const override;
3150private:
3151 std::string jsonConflict;
3152 std::string jsonCurrent;
3153};
3154
3175class HIVESDK_DLLEXPORT ProfileInfo {
3176public:
3177 ProfileInfo();
3178 ProfileInfo(picojson::value object);
3179#if WITH_EDITOR
3180 virtual ~ProfileInfo();
3181#else
3182 virtual ~ProfileInfo() = default;
3183#endif
3184 hive::PlayerID playerId;
3185 std::string playerName;
3186 std::string playerImageUrl;
3187};
3188
3211class HIVESDK_DLLEXPORT PlayerInfo : public ProfileInfo{
3212public:
3213 PlayerInfo();
3214 PlayerInfo(picojson::value object);
3215#if WITH_EDITOR
3216 virtual ~PlayerInfo();
3217#else
3218 virtual ~PlayerInfo() = default;
3219#endif
3220 std::string playerToken;
3221 std::string did;
3222
3223 std::map<ProviderType, hive::ProviderInfo> providerInfoData; // 일반 로그인 provider 정보
3224 std::map<std::string, hive::ProviderInfo> customProviderInfoData; // 커스텀 로그인 provider 정보
3225};
3226
3227
3228// MARK: -
3229// MARK: HIVEProviderInfo
3230
3254class HIVESDK_DLLEXPORT ProviderInfo {
3255public:
3256 ProviderInfo();
3257 ProviderInfo(picojson::value object);
3258 hive::ProviderType providerType;
3259 std::string providerName;
3260 std::string providerUserId;
3261 std::string providerEmail;
3262
3269 static std::string stringProviderType(hive::ProviderType providerType);
3270
3271
3278 static hive::ProviderType providerTypeFromString(const std::string typeString);
3279};
3280
3281// MARK: -
3282// MARK: HIVEAuthV4MaintenanceInfo
3283
3311class HIVESDK_DLLEXPORT AuthV4MaintenanceInfo{
3312public:
3313 AuthV4MaintenanceInfo(picojson::value object);
3314 std::string title;
3315 std::string message;
3316 std::string button;
3317 hive::AuthV4MaintenanceActionType action;
3318 std::string url;
3319 std::string startDate;
3320 std::string endDate;
3322};
3323
3324NS_HIVE_END // namespace hive
3325
3326// C-Style
3327extern "C"
3328{
3329 //AuthV4PlayerInfo return Json String
3330 HIVESDK_DLLEXPORT const char* AuthV4GetPlayerInfo();
3331 HIVESDK_DLLEXPORT void AuthV4ShowChatbotInquiry(const char* additionalInfo, hive::AuthV4::onShowChatbotInquiry showChatbotInquiryListener);
3332 //4.15.8 Add
3333 HIVESDK_DLLEXPORT void AuthV4SignInWithAuthKey(const char* authKey, hive::AuthV4::onSignIn signInListener);
3334
3335 //4.16.2 Add
3336 HIVESDK_DLLEXPORT void AuthV4ConnectWithAuthKey(const char* authKey, hive::AuthV4::onConnect connectListener);
3337 HIVESDK_DLLEXPORT void AuthV4DisconnectWithName(const char* providerName, hive::AuthV4::onDisconnect disconnectListener);
3338
3339 // Helper
3340 //IDP List (array) return Json String
3341 HIVESDK_DLLEXPORT const char* AuthV4HelperGetIDPList();
3342
3343}
3344
3345
3346#endif //__HIVE_AUTHV4_H__
Server Maintenance and Update status display information title : Title message : Contents button : ...
Definition: HIVE_AuthV4.h:3311
HIVE 인증 충돌시 view에 표시할 UI data를 구성하는 정보.
Definition: HIVE_AuthV4.h:3133
Sign-in User Information it includes user's tocken and DID value along with ProfileInfo.
Definition: HIVE_AuthV4.h:3211
User Profile Information playerID : User's unique ID playerName : The nickname of the user to be sho...
Definition: HIVE_AuthV4.h:3175
Identity Provider (IdP) Information It contains the UserId of the associated Identity Provider.
Definition: HIVE_AuthV4.h:3254
Definition: HIVE_ResultAPI.h:63
@ DONE
아무 처리도 하지 않음.
@ OPEN_URL
외부 부라우저로 전달된 url 을 실행
@ GUEST
HIVE 게스트 로그인
@ AUTO
게스트 로그인이나 HIVE 로그인되어 있는 상태 (단말에 세션키가 남아 있는 상태)
std::string providerEmail
Provider의 사용자 email (optional)
Definition: HIVE_AuthV4.h:3261
static void showLeaderboard(onAuthV4Helper listener)
Queries leaderboard
static void showConflict(ConflictSingleViewInfo const &viewInfo, onAuthV4Helper listener)
Displays conflict status, and HIVE UI which is available to select an account as well as shows game i...
std::string endDate
end time YYYY-mm-dd HH:ii
Definition: HIVE_AuthV4.h:3320
std::string playerToken
사용자 Player 세션 토큰.
Definition: HIVE_AuthV4.h:3220
static hive::ProviderType providerTypeFromString(const std::string typeString)
Provider string값으로 type을 얻어온다.
static void signOut(onAuthV4Helper listener)
Player sign-out
std::string providerUserId
< Provider의 이름.
Definition: HIVE_AuthV4.h:3260
static void showAchievements(onAuthV4Helper listener)
Queries Achievements
static void showConflict(onAuthV4Helper listener)
Displays conflict status, and HIVE UI avilable to select an account.
static void achievementsReveal(const std::string achievementId, onAuthV4Helper listener)
Reveal hidden achievement.
std::string startDate
start time YYYY-mm-dd HH:ii
Definition: HIVE_AuthV4.h:3319
std::string button
Text on the button ex) OK.
Definition: HIVE_AuthV4.h:3316
static void signIn(onAuthV4Helper listener)
Player sign-in
static void connect(ProviderType providerType, onAuthV4Helper listener)
Provider Connection
std::string url
URL to be browsed when action is OPEN_URL.
Definition: HIVE_AuthV4.h:3318
static void syncAccount(ProviderType providerType, onAuthV4Helper listener)
Helps to inform whether accounts conflict or not when executing the provided as well as other APIs.
static void leaderboardsSubmitScore(const std::string leaderboardId, const long long score, onAuthV4Helper listener)
It update the leaderboard score.
std::string title
Title.
Definition: HIVE_AuthV4.h:3314
static void disconnect(ProviderType providerType, onAuthV4Helper listener)
Provider disconnetion
static void switchAccount(onAuthV4Helper listener)
If accounts conflict, sign out the current player and try to sign in with the account signed in on t...
hive::PlayerID playerId
사용자 Player ID
Definition: HIVE_AuthV4.h:3184
ConflictSingleViewInfo(hive::PlayerID playerId)
생성자
static std::vector< ProviderType > getIDPList()
Receives the Provider lists sent by SDK.
static void showGameCenterLoginCancelDialog(onAuthV4DialogDismiss listener)
If a sign-in window of Game Center is not displayed, show its status and display a UI to inform how ...
int remainingTime
When action is EXIT, the time in seconds remaining until the maintenance completes....
Definition: HIVE_AuthV4.h:3321
std::string message
Contents.
Definition: HIVE_AuthV4.h:3315
static void achievementsIncrement(const std::string achievementId, const int value, onAuthV4Helper listener)
Increases achievement figures.
ConflictViewInfo(hive::PlayerID currentPlayerId, hive::PlayerID conflictPlayerId)
생성자
static void playerDelete(onAuthV4Helper listener)
사용자 삭제
static void resolveConflict(onAuthV4Helper listener)
In case it is not changed the currently signed-in account after accounts conflict.
hive::ProviderType providerType
Provider의 type.
Definition: HIVE_AuthV4.h:3258
static void achievementsUnlock(const std::string achievementId, onAuthV4Helper listener)
Unlock achievement.
hive::AuthV4MaintenanceActionType action
Actions to be taken when the button is pressed.
Definition: HIVE_AuthV4.h:3317
std::function< void(ResultAPI const &result, std::shared_ptr< PlayerInfo > playerInfo)> onAuthV4Helper
AuthV4Helper API request result callback.
Definition: HIVE_AuthV4.h:1762
std::string did
사용자 device identifier.
Definition: HIVE_AuthV4.h:3221
static std::string stringProviderType(hive::ProviderType providerType)
Provider type으로 string 값을 얻어온다.
std::function< void(ResultAPI const &result, std::string loginToken)> onGetHiveTalkPlusLoginToken
getHiveTalkPlusLoginToken(AuthV4GetHiveTalkPlusLoginTokenListener) call AuthV4.getHiveTalkPlusLoginTo...
Definition: HIVE_AuthV4.h:571
static void signIn(ProviderType providerType, onSignIn signInListener)
Requests signIn according to the given providerType.
static void reset()
It initialize all data used by the SDK, including authentication information.
static void signInWithAuthKey(std::string authKey, onSignIn signInListener)
Requests signIn with authKey gained from customized provider login implementation.
static void showChatbotInquiry(std::string additionalInfo, onShowChatbotInquiry showChatbotInquiryListener)
Show HIVE Chatbot 1:1 inquiry
std::function< void(ResultAPI const &result, ProviderInfo const &providerInfo)> onCheckProvider
AuthV4 Provider status request result callback If the requested provider is not logged in,...
Definition: HIVE_AuthV4.h:332
static void setup(onSetup setupListener)
AuthV4 Perform initialization.
ProviderType
Provider Types AUTO is for Automatic Login If the result of isAutoSignIn() call is true,...
Definition: HIVE_AuthV4.h:70
static void checkBlacklist(bool isShow, onMaintenance maintenanceListener)
it check the restriction status of the current user.
static void checkProvider(ProviderType providerType, onCheckProvider checkProviderListener)
It check the status of the requested Provider.
static void showSignIn(onSignIn signInListener)
It shows the UI with a list of providers that can sign-in.
std::function< void(ResultAPI const &result)> onShowProfile
AuthV4 Profile UI request result callback Invoked when the UI window is closed.
Definition: HIVE_AuthV4.h:408
static void requestPermissionViewData(onAuthV4RequestPermissionViewData listener)
권한고지 팝업을 구성하기 위한 데이터를 얻습니다.
static void playerDelete(onSignOut playerDeleteListener)
Delete the account and remove the local session.
static void showMyInquiry(onShowMyInquiry showInquiryListener)
It shows the 1: 1 query UI.
static PlayerInfo getPlayerInfo()
It returns information about the currently signed-in user.
std::function< void(ResultAPI const &result)> onShowMyInquiry
AuthV4 My Inquiry UI request result callback Invoked when the UI window is closed.
Definition: HIVE_AuthV4.h:473
static void getProviderFriendsList(ProviderType providerType, onGetProviderFriendsList getProviderFriendsListListener)
It returns the playerId list information of the friends of the connected user corresponding to the in...
static void showAdultConfirm(onAdultConfirm adultConfirmListener)
It request adult authentication.
static void getProfile(std::vector< PlayerID > playerIdList, onGetProfile getProfileListener)
it returns the profile information of the requested playerIds.
static void selectConflict(PlayerID selectedPlayerId, onSignIn signInListener)
When an account conflict (CONFLICT_PLAYER) occurs due to connect, it notify the selected user to the ...
std::function< void(ResultAPI const &result, ProviderType providerType, std::map< std::string, PlayerID > providerUserIdList)> onGetProviderFriendsList
HIVE SDK Provider friend list request result callback.
Definition: HIVE_AuthV4.h:495
std::function< void(ResultAPI const &result)> onSignOut
AuthV4 Sign out result callback.
Definition: HIVE_AuthV4.h:203
std::function< void(ResultAPI const &result)> onResolveConflict
Result callback of resolveConflict(HIVEAuthV4ResolveConflictHandler) call AuthV4.resolveConflict() us...
Definition: HIVE_AuthV4.h:516
static void disconnectWithName(std::string providerName, onDisconnect disconnectListener)
Releases the currently signed-in user from the requested custom provider.
static void getHiveTalkPlusLoginToken(onGetHiveTalkPlusLoginToken getHiveTalkPlusLoginTokenListener)
getHiveTalkPlusLoginToken(AuthV4GetHiveTalkPlusLoginTokenListener) call AuthV4.getHiveTalkPlusLoginTo...
std::function< void(ResultAPI const &result, std::vector< AuthV4MaintenanceInfo > const &maintenanceInfolist)> onMaintenance
AuthV4 Sever maintenance check request result callback Check whether the server is in the server main...
Definition: HIVE_AuthV4.h:361
static void connect(ProviderType providerType, onConnect connectListener)
It connects to the currently requested provider for the currently signed-in user.
std::function< void(ResultAPI const &result, std::vector< ProfileInfo > const &profileInfoList)> onGetProfile
AuthV4 Profile information request result callback The profile information of the playerIds which are...
Definition: HIVE_AuthV4.h:386
static void disconnect(ProviderType providerType, onDisconnect disconnectListener)
Releases the currently signed-in user from the requested provider.
static void showTerms(onShowTerms showTermsListener)
It shows HIVE Terms and Conditions.
static void showProfile(PlayerID playerId, onShowProfile showProfileListener)
It display the profile UI of the requested playerId.
static void checkMaintenance(bool isShow, onMaintenance maintenanceListener)
It display maintenance status and return its data.
static void showDeviceManagement(onShowDeviceManagement showDeviceManagementListener)
It shows the device management UI.
static void connectWithAuthKey(std::string authKey, onConnect connectListener)
Requests connect with authKey gained from customized provider login implementation.
std::function< void(ResultAPI const &result)> onShowInquiry
AuthV4 1:1 Inquiry UI request result callback Invoked when the UI window is closed.
Definition: HIVE_AuthV4.h:430
std::function< void(ResultAPI const &result, PlayerInfo const &conflictPlayer)> onConnect
AuthV4 Provider connect result callback.
Definition: HIVE_AuthV4.h:239
std::function< void(ResultAPI const &result)> onShowTerms
AuthV4 Terms of Service UI request result callback Invoked when the UI window is closed.
Definition: HIVE_AuthV4.h:285
static void showConflictSelection(IConflictViewInfo const &viewInfo, onSignIn signInListener)
It shows UI to select user in conflict state.
std::function< void(ResultAPI const &result, bool isAutoSignIn, std::string did, std::vector< ProviderType > const &providerTypeList)> onSetup
AuthV4 initialization result callback.
Definition: HIVE_AuthV4.h:152
std::function< void(ResultAPI const &result, PlayerInfo const &playerInfo)> onSignIn
AuthV4 Sign-in result callback.
Definition: HIVE_AuthV4.h:182
std::function< void(ResultAPI const &result)> onAdultConfirm
AuthV4 Adult authentication request result callback Invoked when the UI window is closed.
Definition: HIVE_AuthV4.h:307
AuthV4MaintenanceActionType
Actions to be taken when a button is pressed on the maintenance popup.
Definition: HIVE_AuthV4.h:108
std::function< void(ResultAPI const &result)> onDisconnect
AuthV4 Provider disconnect result callback It pass the disconnect status to the authentication server...
Definition: HIVE_AuthV4.h:264
std::function< void(ResultAPI const &result)> onShowDeviceManagement
AuthV4 DeviceManagement UI request result callback Invoked when the UI window is closed.
Definition: HIVE_AuthV4.h:554
static void setProviderChangedListener(onCheckProvider checkProviderLisener)
It set a handler to be notified whether the information of the linked Provider has changed.
static void resolveConflict(onResolveConflict resolveConflictListener)
It resolve the account conflicts(CONFLICT_PLAYER) caused by connect () call.
static void showInquiry(onShowInquiry showInquiryListener)
It shows the 1: 1 query UI.
static void signOut(onSignOut signOutListener)
it remove the local session.
static bool isAutoSignIn()
It returns whether signIn (AUTO) is enabled.
std::function< void(ResultAPI const &result)> onShowChatbotInquiry
AuthV4 Chatbot 1:1 Inquiry UI request result callback Invoked when the UI window is closed.
Definition: HIVE_AuthV4.h:451
Copyright © Com2uS Platform Corporation. All Right Reserved. Terms of Use Privacy Policy