hank
2017-06-14 a0a84333e64f1e94ae9d0f69545037c60e781842
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