Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 704e48808e
Fetching contributors…

Cannot retrieve contributors at this time

14 lines (13 sloc) 0.388 kb
#import <Cocoa/Cocoa.h>
#import <Security/Authorization.h>
@interface SecurityHelper : NSObject
{
AuthorizationRef authorizationRef;
}
+ sharedInstance;
- (BOOL)executeCommand:(NSString *)pathToCommand withArgs:(NSArray *)arguments;
- (void)setAuthorizationRef:(AuthorizationRef)theAuthorizationRef;
- (AuthorizationRef)authorizationRef;
- (void)deauthorize;
- (BOOL)isAuthorized;
@end
Jump to Line
Something went wrong with that request. Please try again.