2 // ASIAuthenticationDialog.h
3 // Part of ASIHTTPRequest -> http://allseeing-i.com/ASIHTTPRequest
5 // Created by Ben Copsey on 21/08/2009.
6 // Copyright 2009 All-Seeing Interactive. All rights reserved.
9 #import <Foundation/Foundation.h>
10 #import <UIKit/UIKit.h>
11 @class ASIHTTPRequest;
13 typedef enum _ASIAuthenticationType {
14 ASIStandardAuthenticationType = 0,
15 ASIProxyAuthenticationType = 1
16 } ASIAuthenticationType;
18 @interface ASIAutorotatingViewController : UIViewController
21 @interface ASIAuthenticationDialog : ASIAutorotatingViewController <UIActionSheetDelegate, UITableViewDelegate, UITableViewDataSource> {
22 ASIHTTPRequest *request;
23 ASIAuthenticationType type;
24 UITableView *tableView;
25 UIViewController *presentingController;
26 BOOL didEnableRotationNotifications;
28 + (void)presentAuthenticationDialogForRequest:(ASIHTTPRequest *)request;
31 @property (retain) ASIHTTPRequest *request;
32 @property (assign) ASIAuthenticationType type;
33 @property (assign) BOOL didEnableRotationNotifications;
34 @property (retain, nonatomic) UIViewController *presentingController;