hank
2017-06-14 a0a84333e64f1e94ae9d0f69545037c60e781842
commit | author | age
a0a843 1 //
H 2 //  TWTRAppAuthProvider.h
3 //
4 //  Created by Alden Keefe Sampson on 4/2/14.
5 //  Copyright (c) 2014 Twitter. All rights reserved.
6 //
7
8 #import "TWTRAuthenticationProvider.h"
9
10 @class TWTRAuthConfig;
11 @protocol TWTRAPIServiceConfig;
12
13 @interface TWTRAppAuthProvider : TWTRAuthenticationProvider
14
15 - (instancetype)init __unavailable;
16
17 - (instancetype)initWithAuthConfig:(TWTRAuthConfig *)authConfig apiServiceConfig:(id<TWTRAPIServiceConfig>)apiServiceConfig;
18
19 /**
20  *  Authenticate with App Auth
21  *
22  *  @param completion (required) The completion that will be called upon success or error.
23  *                               Will be called on an arbitrary queue.
24  */
25 - (void)authenticateWithCompletion:(TWTRAuthenticationProviderCompletion)completion;
26
27 @end