This repository has been archived on 2025-08-18. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
Twittia/OAuth.h
2010-05-02 17:37:14 +02:00

33 lines
800 B
Objective-C

//
// 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