first working oAuth Twittia
This commit is contained in:
parent
bba00dd94a
commit
301fa12b21
33 changed files with 1260 additions and 46 deletions
33
OAuth.h
Normal file
33
OAuth.h
Normal file
|
@ -0,0 +1,33 @@
|
|||
//
|
||||
// OAuth.h
|
||||
// Twittia 2
|
||||
//
|
||||
// Created by Jeena on 01.05.10.
|
||||
// Copyright 2010 __MyCompanyName__. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
#import <OAuthConsumer/OAToken.h>
|
||||
#import <OAuthConsumer/OAConsumer.h>
|
||||
#import "OAToken+WebView.h"
|
||||
|
||||
|
||||
@interface OAuth : NSObject {
|
||||
OAToken *requestToken;
|
||||
OAToken *accessToken;
|
||||
OAToken *consumerToken;
|
||||
OAConsumer *consumer;
|
||||
IBOutlet NSTextField *twitterPINField;
|
||||
IBOutlet NSPanel *twitterPINPanel;
|
||||
}
|
||||
|
||||
@property (nonatomic, retain) OAToken *accessToken;
|
||||
@property (nonatomic, retain) OAToken *consumerToken;
|
||||
@property (nonatomic, retain) IBOutlet NSTextField *twitterPINField;
|
||||
@property (nonatomic, retain) IBOutlet NSPanel *twitterPINPanel;
|
||||
|
||||
- (id)init;
|
||||
- (void)requestAToken;
|
||||
- (IBAction)requestAccessTokenWithPIN:(id)sender;
|
||||
|
||||
@end
|
Reference in a new issue