-
Notifications
You must be signed in to change notification settings - Fork 3
/
MPOAuthCredentialStore.h
33 lines (29 loc) · 1.24 KB
/
MPOAuthCredentialStore.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
//
// MPOAuthCredentialStore.h
// MPOAuthConnection
//
// Created by Karl Adam on 08.12.06.
// Copyright 2008 matrixPointer. All rights reserved.
//
extern NSString *kMPOAuthCredentialConsumerKey;
extern NSString *kMPOAuthCredentialConsumerSecret;
extern NSString *kMPOAuthCredentialUsername;
extern NSString *kMPOAuthCredentialPassword;
extern NSString *kMPOAuthCredentialRequestToken;
extern NSString *kMPOAuthCredentialRequestTokenSecret;
extern NSString *kMPOAuthCredentialAccessToken;
extern NSString *kMPOAuthCredentialAccessTokenSecret;
extern NSString *kMPOAuthCredentialSessionHandle;
extern NSString *kMPOAuthCredentialRealm;
@protocol MPOAuthCredentialStore <NSObject>
@property (nonatomic, readonly) NSString *consumerKey;
@property (nonatomic, readonly) NSString *consumerSecret;
@property (nonatomic, readonly) NSString *username;
@property (nonatomic, readonly) NSString *password;
@property (nonatomic, readonly, retain) NSString *requestToken;
@property (nonatomic, readonly, retain) NSString *requestTokenSecret;
@property (nonatomic, readonly, retain) NSString *accessToken;
@property (nonatomic, readonly, retain) NSString *accessTokenSecret;
- (NSString *)credentialNamed:(NSString *)inCredentialName;
- (void)discardOAuthCredentials;
@end