-
-
Save iMokhles/4cc45a32197a27456e2975a760d247cd to your computer and use it in GitHub Desktop.
BioLockdown API
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import <Foundation/Foundation.h> | |
#import <AddressBook/AddressBook.h> | |
@class SBApplication, CKConversation; | |
__attribute__((visibility("hidden"))) | |
@interface BioLockdownController : NSObject | |
+ (BioLockdownController *)sharedController; | |
- (BOOL)requiresAuthenticationForIdentifier:(NSString *)identifier; | |
- (BOOL)requiresAuthenticationForApplication:(SBApplication *)application; | |
- (BOOL)requiresAuthenticationForRecord:(ABRecordRef)record; | |
- (BOOL)authenticateForIdentifier:(NSString *)identifier actionDescription:(NSString *)actionDescription completion:(dispatch_block_t)completion failure:(dispatch_block_t)failure; | |
- (BOOL)authenticateForApplication:(SBApplication *)application actionText:(NSString *)actionText completion:(dispatch_block_t)completion failure:(dispatch_block_t)failure; | |
- (BOOL)authenticateForSwitchIdentifier:(NSString *)switchIdentifier actionText:(NSString *)actionText completion:(dispatch_block_t)completion failure:(dispatch_block_t)failure; | |
- (BOOL)authenticateForRecord:(ABRecordRef)record actionText:(NSString *)actionText completion:(dispatch_block_t)completion failure:(dispatch_block_t)failure; | |
- (NSArray *)knownNetworks; | |
@end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment