JubeatPlus 3.9.11
Loading...
Searching...
No Matches
EditorIDManager.h
Go to the documentation of this file.
1
14
15#import <Foundation/Foundation.h>
16
17NS_ASSUME_NONNULL_BEGIN
18
22@protocol EditorIDManagerDelegate <NSObject>
23@optional
28- (void)successIDDownload:(nullable id)manager;
34- (void)errorIDDownload:(nullable id)manager msgStr:(nullable NSString *)msgStr;
35@end
36
40@interface EditorIDManager : NSObject
41
51- (instancetype)initWithDelegate:(nullable id<EditorIDManagerDelegate>)delegate;
52
57- (void)cancel;
58
67@property(class, nonatomic, readonly) BOOL isExistEditorID;
68
74+ (NSString *)getEditorIDKey;
80+ (NSString *)getEditorPassKey;
90+ (NSDictionary *)getKeyQuery:(id)key;
98+ (void)deleteKeychain;
99
105+ (void)deleteKeychainString:(id)key;
106
116- (NSDictionary *)createAddQuery:(id)key;
117
123- (void)jubeatLabAccessProceed:(nullable id)access;
129- (void)jubeatLabAccessError:(nullable id)access;
139- (void)jubeatLabAccessFinished:(nullable id)access;
140
149+ (nullable NSString *)getKeyString:(id)key;
150
157+ (NSDictionary *)createAddQueryG:(id)key;
158
165+ (void)setKeyChain:(id)editorID passwd:(id)passwd;
166
175+ (void)replaceKeyChain:(id)response;
176
186+ (void)replaceKeyChain:(id)editorID pass:(id)pass;
187
192+ (void)printKeychain;
193
194@end
195
196NS_ASSUME_NONNULL_END
197
198// code: language=Objective-C
199// kate: hl Objective-C;
200// vim: set ft=objc :
Holds the editor identifier and its passphrase as keychain items.
Definition EditorIDManager.h:41
NSString * getEditorIDKey()
The keychain account for the editor identifier, the constant "EditorUniqueID".
Definition EditorIDManager.m:98
void printKeychain()
Debugging hook that prints the keychain.
Definition EditorIDManager.m:206
BOOL isExistEditorID
Whether both the editor identifier and its passphrase are present in the keychain.
Definition EditorIDManager.m:48
void cancel()
Cancels the in-flight provisioning download.
Definition EditorIDManager.m:224
void deleteKeychain()
Removes the editor keychain entries that are present.
Definition EditorIDManager.m:108
NSString * getEditorPassKey()
The keychain account for the editor passphrase, the constant "EditorPassword".
Definition EditorIDManager.m:103