forked from epetousis/Asphaleia3
/
ASAuthenticationController.h
executable file
·31 lines (27 loc) · 1.65 KB
/
ASAuthenticationController.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#import <UIKit/UIKit.h>
#import "ASTouchIDController.h"
#import "ASTouchWindow.h"
#import "ASCommon.h"
#import "ASAuthenticationAlert.h"
#import <PassKitUIFoundation/PKGlyphView.h>
@interface ASAuthenticationController : NSObject <ASAuthenticationAlertDelegate> {
ASCommonAuthenticationHandler authHandler;
NSString *currentAuthAppBundleID;
}
@property (strong, nonatomic) ASAuthenticationAlert *currentAuthAlert;
@property (strong, nonatomic) SBIconView *currentHSIconView;
@property (strong, nonatomic) PKGlyphView *fingerglyph;
@property (copy, nonatomic) NSString *appUserAuthorisedID;
@property (nonatomic) BOOL catchAllIgnoreRequest;
@property (copy, nonatomic) NSString *temporarilyUnlockedAppBundleID;
@property (strong, nonatomic) ASTouchWindow *anywhereTouchWindow;
+ (instancetype)sharedInstance;
- (void)initialiseGlyphIfRequired;
- (ASAuthenticationAlert *)returnAppAuthenticationAlertWithApplication:(NSString *)appIdentifier customMessage:(NSString *)customMessage delegate:(id<ASAuthenticationAlertDelegate>)delegate;
- (ASAuthenticationAlert *)returnAuthenticationAlertOfType:(ASAuthenticationAlertType)alertType delegate:(id<ASAuthenticationAlertDelegate>)delegate;
- (BOOL)authenticateAppWithDisplayIdentifier:(NSString *)appIdentifier customMessage:(NSString *)customMessage dismissedHandler:(ASCommonAuthenticationHandler)handler;
- (BOOL)authenticateFunction:(ASAuthenticationAlertType)alertType dismissedHandler:(ASCommonAuthenticationHandler)handler;
- (BOOL)authenticateAppWithIconView:(SBIconView *)iconView authenticatedHandler:(ASCommonAuthenticationHandler)handler;
- (void)dismissAnyAuthenticationAlerts;
- (NSArray *)allSubviewsOfView:(UIView *)view;
@end