add authentication logic

This commit is contained in:
Stephan Diederich
2013-08-15 22:27:20 +02:00
parent 9ae6fa060e
commit a530df813d
2 changed files with 102 additions and 37 deletions

View File

@@ -12,6 +12,15 @@
@interface BITAuthenticationViewController : UITableViewController
- (instancetype) initWithApplicationIdentifier:(NSString*) encodedApplicationIdentifier
requirePassword:(BOOL) requiresPassword
delegate:(id<BITAuthenticationViewControllerDelegate>) delegate;
/**
* The application's id to identifiy it in the backend
*/
@property (nonatomic, copy) NSString *encodedApplicationIdentifier;
/**
* can be set to YES to also require the users password
*