commit | author | age
|
a0a843
|
1 |
// |
H |
2 |
// TWTRAuthorizationProvider.h |
|
3 |
// TWTRAuthentication |
|
4 |
// |
|
5 |
// Created by Mustafa Furniturewala on 2/5/14. |
|
6 |
// Copyright (c) 2014 Mustafa Furniturewala. All rights reserved. |
|
7 |
// |
|
8 |
|
|
9 |
#import <Foundation/Foundation.h> |
|
10 |
|
|
11 |
typedef void (^TWTRAuthenticationProviderCompletion)(NSDictionary *responseObject, NSError *error); |
|
12 |
|
|
13 |
@interface TWTRAuthenticationProvider : NSObject |
|
14 |
|
|
15 |
/** |
|
16 |
* Authenticate with the Twitter API |
|
17 |
* |
|
18 |
* @param completion (required) The completion block to be called upon succes or failure. |
|
19 |
* Will be called on an arbitrary queue. |
|
20 |
*/ |
|
21 |
- (void)authenticateWithCompletion:(TWTRAuthenticationProviderCompletion)completion; |
|
22 |
|
|
23 |
@end |