commit | author | age
|
a0a843
|
1 |
// |
H |
2 |
// TWTRKeychainWrapper.h |
|
3 |
// TWTRAuthentication |
|
4 |
// |
|
5 |
// Created by Mustafa Furniturewala on 2/19/14. |
|
6 |
// Copyright (c) 2014 Mustafa Furniturewala. All rights reserved. |
|
7 |
// |
|
8 |
|
|
9 |
#import <Foundation/Foundation.h> |
|
10 |
#import "TWTRAuthenticationConstants.h" |
|
11 |
|
|
12 |
@interface TWTRKeychainWrapper : NSObject |
|
13 |
|
|
14 |
@property (nonatomic, retain) NSMutableDictionary *keychainItemData; |
|
15 |
@property (nonatomic, retain) NSMutableDictionary *genericPasswordQuery; |
|
16 |
|
|
17 |
// Designated initializer. |
|
18 |
- (id)initWithAccount:(NSString *)account service:(NSString *)service accessGroup:(NSString *)accessGroup; |
|
19 |
- (BOOL)setObject:(id)inObject forKey:(id)key; |
|
20 |
- (id)objectForKey:(id)key; |
|
21 |
|
|
22 |
// Initializes and resets the default generic keychain item data. |
|
23 |
- (void)resetKeychainItem; |
|
24 |
|
|
25 |
@end |