Yini  1.0
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
MPOAuthConnection.h
Go to the documentation of this file.
1 //
2 // MPOAuthConnection.h
3 // MPOAuthConnection
4 //
5 // Created by Karl Adam on 08.12.05.
6 // Copyright 2008 matrixPointer. All rights reserved.
7 //
8 
9 #import <Foundation/Foundation.h>
10 
11 @protocol MPOAuthCredentialStore;
12 @protocol MPOAuthParameterFactory;
13 
14 @class MPOAuthURLRequest;
15 @class MPOAuthURLResponse;
17 
18 @interface MPOAuthConnection : NSURLConnection {
19 @private
20  MPOAuthCredentialConcreteStore *_credentials;
21 }
22 
23 @property (nonatomic, readonly) id <MPOAuthCredentialStore, MPOAuthParameterFactory> credentials;
24 
25 + (MPOAuthConnection *)connectionWithRequest:(MPOAuthURLRequest *)inRequest delegate:(id)inDelegate credentials:(NSObject <MPOAuthCredentialStore, MPOAuthParameterFactory> *)inCredentials;
26 + (NSData *)sendSynchronousRequest:(MPOAuthURLRequest *)inRequest usingCredentials:(NSObject <MPOAuthCredentialStore, MPOAuthParameterFactory> *)inCredentials returningResponse:(MPOAuthURLResponse **)outResponse error:(NSError **)inError;
27 - (id)initWithRequest:(MPOAuthURLRequest *)inRequest delegate:(id)inDelegate credentials:(NSObject <MPOAuthCredentialStore, MPOAuthParameterFactory> *)inCredentials;
28 
29 @end