mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
add authentication logic
This commit is contained in:
@@ -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
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user