commit | author | age
|
a0a843
|
1 |
// |
H |
2 |
// TWTRAuthSession.h |
|
3 |
// |
|
4 |
// Copyright (c) 2015 Twitter. All rights reserved. |
|
5 |
// |
|
6 |
|
|
7 |
#import <Foundation/Foundation.h> |
|
8 |
|
|
9 |
NS_ASSUME_NONNULL_BEGIN |
|
10 |
|
|
11 |
/** |
|
12 |
* The base session which all sessions must conform to. |
|
13 |
*/ |
|
14 |
@protocol TWTRBaseSession <NSObject, NSCoding> |
|
15 |
@end |
|
16 |
|
|
17 |
/** |
|
18 |
* Encapsulates the authorization details of an OAuth Session. |
|
19 |
*/ |
|
20 |
@protocol TWTRAuthSession <TWTRBaseSession> |
|
21 |
|
|
22 |
@property (nonatomic, readonly, copy) NSString *authToken; |
|
23 |
@property (nonatomic, readonly, copy) NSString *authTokenSecret; |
|
24 |
@property (nonatomic, readonly, copy) NSString *userID; |
|
25 |
|
|
26 |
@end |
|
27 |
|
|
28 |
NS_ASSUME_NONNULL_END |