46 #import <Foundation/Foundation.h> 50 @class HIVEAuthMaintenanceExtraButton;
51 @class HIVEPermissionViewData;
60 typedef NS_ENUM(NSUInteger, HIVELoginType) {
61 kHIVELoginTypeGUEST = 0,
62 kHIVELoginTypeACCOUNT,
77 typedef NS_ENUM(NSUInteger, HIVEAuthMaintenanceActionType) {
79 kHIVEAuthMaintenanceActionTypeOPEN_URL = 1,
80 kHIVEAuthMaintenanceActionTypeEXIT,
81 kHIVEAuthMaintenanceActionTypeDONE
95 @property (nonatomic, copy) NSString *
vid;
96 @property (nonatomic, copy) NSString *
uid;
97 @property (nonatomic, copy) NSString *
did;
100 -(instancetype)initWith:(NSString *)vid
103 accessToken:(NSString *)accessToken;
107 -(NSString *)privacySafeDescription;
139 @property (nonatomic, copy) NSString *did;
141 -(instancetype)initWith:(BOOL)isAuthorized
142 loginType:(HIVELoginType)loginType
159 @property (nonatomic, copy) NSString *title;
160 @property (nonatomic, copy) NSString *message;
161 @property (nonatomic, copy) NSString *button;
162 @property (nonatomic) HIVEAuthMaintenanceActionType action;
163 @property (nonatomic, copy) NSString *url;
164 @property (nonatomic) NSUInteger remainingTime;
166 @property (nonatomic, copy) NSString *customerButton;
167 @property (nonatomic, copy) NSString *customerLink;
169 @property (nonatomic, copy) NSMutableArray *exButtons;
171 - (NSString *)toJson;
175 @interface HIVEAuthMaintenanceExtraButton : NSObject <NSCopying>
177 @property (nonatomic) HIVEAuthMaintenanceActionType action;
178 @property (nonatomic, copy) NSString *url;
179 @property (nonatomic, copy) NSString *button;
181 - (NSString *)toJson;
400 + (void)showLoginSelection:(NSDictionary <NSString *, NSObject *> *)currentData
401 usedData:(NSDictionary<NSString *,NSObject *> *)usedData
534 + (void)setFacebookPermission:(NSArray *) permission;
550 + (void)requestPermissionViewData:(
void(^)(
HIVEResultAPI *result, HIVEPermissionViewData *data))handler __deprecated_msg("Use Configration.getPermissionViewData");
553 + (BOOL)setEmergencyMode;
NSString * uid
User unique ID for HIVE Social.
Definition: HIVEAuth.h:96
typedef NS_ENUM(NSUInteger, HIVELoginType)
HIVE login type definition.
Definition: HIVEAuth.h:60
void(^ HIVEAuthInitializeHandler)(HIVEResultAPI *result, HIVEAuthInitResult *authInitResult)
Notify HIVE SDK initialization result listener.
Definition: HIVEAuth.h:202
void reset()
Initialize all data used by the SDK, including authentication information.
Definition: HIVEAuth.m:375
NSString * vid
If you perform HIVE login, the unique ID of the user issued for each game.
Definition: HIVEAuth.h:95
void(^ HIVEAuthAdultConfirmHandler)(HIVEResultAPI *result)
Adult verification pop-up result.
Definition: HIVEAuth.h:287
Provides HIVE SDK initialization and HIVE authentication functions The HIVE SDK performs initializat...
Definition: HIVEAuth.h:326
API 호출에 대한 결과를 담는 클래스
Definition: HIVEResultAPI.h:25
HIVELoginType getLoginType()
After initializing the SDK, it returns the login information that can be executed according to the ex...
Definition: HIVEAuth.m:210
void(^ HIVEAuthLogoutHandler)(HIVEResultAPI *result)
HIVE logout result listener.
Definition: HIVEAuth.h:238
void(^ HIVEAuthMaintenanceHandler)(HIVEResultAPI *result, HIVEAuthMaintenanceInfo *maintenanceInfo)
Maintenance popup result.
Definition: HIVEAuth.h:255
void(^ HIVEAuthShowTermsHandler)(HIVEResultAPI *result)
The result of displaying the terms and conditions.
Definition: HIVEAuth.h:270
void(^ HIVEAuthLoginHandler)(HIVEResultAPI *result, HIVELoginType loginType, HIVEAccount *currentAccount, HIVEAccount *usedAccount)
HIVE login result listener.
Definition: HIVEAuth.h:223
BOOL isAuthorized
HIVE (account) login history (True: Has HIVE login history, false: No HIVE login history) ...
Definition: HIVEAuth.h:121
HIVEAccount * getAccount()
Returns the authentication information of HIVE user.
Definition: HIVEAuth.m:299
HIVELoginType loginType
HIVE Login type If GUEST, login to GUEST If ACCOUNT, DO HIVE login (based on id/password) If SELE...
Definition: HIVEAuth.h:137
NSString * did
Unique ID issued to each device.
Definition: HIVEAuth.h:97
NSString * accessToken
Shared session key issued by the HIVE authentication server to verify the validity of the HIVE login...
Definition: HIVEAuth.h:98
HIVE authentication user information.
Definition: HIVEAuth.h:93
Server maintenance and update status information.
Definition: HIVEAuth.h:157
Information to be delivered when the result is notified after HIVE SDK initialization.
Definition: HIVEAuth.h:119