Yini  1.0
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
MPOAuthAuthenticationMethodOAuth.h
Go to the documentation of this file.
1 //
2 // MPOAuthAuthenticationMethodOAuth.h
3 // MPOAuthConnection
4 //
5 // Created by Karl Adam on 09.12.19.
6 // Copyright 2009 matrixPointer. All rights reserved.
7 //
8 
9 #import <Foundation/Foundation.h>
11 #import "MPOAuthAPI.h"
13 
14 extern NSString * const MPOAuthNotificationRequestTokenReceived;
15 extern NSString * const MPOAuthNotificationRequestTokenRejected;
16 
18 
23 
24  id <MPOAuthAuthenticationMethodOAuthDelegate> delegate_;
25 }
26 
27 @property (nonatomic, readwrite, assign) id <MPOAuthAuthenticationMethodOAuthDelegate> delegate;
28 
29 @property (nonatomic, readwrite, retain) NSURL *oauthRequestTokenURL;
30 @property (nonatomic, readwrite, retain) NSURL *oauthAuthorizeTokenURL;
31 
32 - (void)authenticate;
33 
34 @end
35 
38 - (BOOL)automaticallyRequestAuthenticationFromURL:(NSURL *)inAuthURL withCallbackURL:(NSURL *)inCallbackURL;
39 
40 @optional
42 - (void)authenticationDidFailWithError:(NSError *)error;
43 @end
44