Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(532)

Unified Diff: remoting/ios/facade/remoting_oauth_authentication.h

Issue 2949713002: [CRD iOS] Refactor an interface for RemotingAuthorization (Closed)
Patch Set: Resolve feedback Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: remoting/ios/facade/remoting_oauth_authentication.h
diff --git a/remoting/ios/facade/remoting_oauth_authentication.h b/remoting/ios/facade/remoting_oauth_authentication.h
new file mode 100644
index 0000000000000000000000000000000000000000..3fc22310fe7ef130030a3f6d5a69f9848c8ef8b5
--- /dev/null
+++ b/remoting/ios/facade/remoting_oauth_authentication.h
@@ -0,0 +1,19 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef REMOTING_IOS_FACADE_REMOTING_OAUTH_AUTHENTICATION_H_
+#define REMOTING_IOS_FACADE_REMOTING_OAUTH_AUTHENTICATION_H_
+
+#import "remoting/ios/facade/remoting_authentication.h"
+
+// The OAuth implementation for RemotingAuthentication.
+@interface RemotingOAuthAuthentication : NSObject<RemotingAuthentication>
+
+// Provide an |authorizationCode| to authenticate a user as the first time user
+// of the application or OAuth Flow.
+- (void)authenticateWithAuthorizationCode:(NSString*)authorizationCode;
+
+@end
+
+#endif // REMOTING_IOS_FACADE_REMOTING_OAUTH_AUTHENTICATION_H_

Powered by Google App Engine
This is Rietveld 408576698