OLD | NEW |
(Empty) | |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef REMOTING_IOS_AUTHORIZE_H_ |
| 6 #define REMOTING_IOS_AUTHORIZE_H_ |
| 7 |
| 8 #import <UIKit/UIKit.h> |
| 9 |
| 10 // TODO (aboone) This include is for The Google Toolbox for Mac OAuth 2 |
| 11 // https://code.google.com/p/gtm-oauth2/ This may need to be added as a |
| 12 // third-party or locate the proper project in Chromium. |
| 13 #import "GTMOAuth2Authentication.h" |
| 14 |
| 15 @interface Authorize : NSObject |
| 16 |
| 17 + (GTMOAuth2Authentication*)getAnyExistingAuthorization; |
| 18 |
| 19 + (void)beginRequest:(GTMOAuth2Authentication*)authorization |
| 20 delegate:self |
| 21 didFinishSelector:(SEL)sel; |
| 22 |
| 23 + (void)appendCredentials:(NSMutableURLRequest*)request; |
| 24 |
| 25 + (UINavigationController*)createLoginController:(id)delegate |
| 26 finishedSelector:(SEL)finishedSelector; |
| 27 |
| 28 @end |
| 29 |
| 30 #endif // REMOTING_IOS_AUTHORIZE_H_ |
OLD | NEW |