Created
August 2, 2015 21:22
-
-
Save rpetrich/7c2849a6fdf254472456 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