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

Side by Side Diff: google_apis/gaia/gaia_constants.cc

Issue 12538009: Public Sessions: fetch device robot api token during enterprise enrollment. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Addressed review comments. Created 7 years, 8 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // Constants definitions 5 // Constants definitions
6 6
7 #include "google_apis/gaia/gaia_constants.h" 7 #include "google_apis/gaia/gaia_constants.h"
8 8
9 namespace GaiaConstants { 9 namespace GaiaConstants {
10 10
(...skipping 15 matching lines...) Expand all
26 const char kCloudPrintService[] = "cloudprint"; 26 const char kCloudPrintService[] = "cloudprint";
27 27
28 // Service/scope names for device management (cloud-based policy) server. 28 // Service/scope names for device management (cloud-based policy) server.
29 const char kDeviceManagementServiceOAuth[] = 29 const char kDeviceManagementServiceOAuth[] =
30 "https://www.googleapis.com/auth/chromeosdevicemanagement"; 30 "https://www.googleapis.com/auth/chromeosdevicemanagement";
31 31
32 // OAuth scopes for chrome web store. 32 // OAuth scopes for chrome web store.
33 const char kCWSNotificationScope[] = 33 const char kCWSNotificationScope[] =
34 "https://www.googleapis.com/auth/chromewebstore.notification"; 34 "https://www.googleapis.com/auth/chromewebstore.notification";
35 35
36 // OAuth2 scope for access to all Google APIs.
37 const char kAnyApiOAuth2Scope[] = "https://www.googleapis.com/auth/any-api";
38
36 // Service for LSO endpoint of Google that exposes OAuth APIs. 39 // Service for LSO endpoint of Google that exposes OAuth APIs.
37 const char kLSOService[] = "lso"; 40 const char kLSOService[] = "lso";
38 41
39 // Used to mint uber auth tokens when needed. 42 // Used to mint uber auth tokens when needed.
40 const char kGaiaSid[] = "sid"; 43 const char kGaiaSid[] = "sid";
41 const char kGaiaLsid[] = "lsid"; 44 const char kGaiaLsid[] = "lsid";
42 const char kGaiaOAuthToken[] = "oauthToken"; 45 const char kGaiaOAuthToken[] = "oauthToken";
43 const char kGaiaOAuthSecret[] = "oauthSecret"; 46 const char kGaiaOAuthSecret[] = "oauthSecret";
44 const char kGaiaOAuthDuration[] = "3600"; 47 const char kGaiaOAuthDuration[] = "3600";
45 const char kGaiaOAuth2LoginRefreshToken[] = "oauth2LoginRefreshToken"; 48 const char kGaiaOAuth2LoginRefreshToken[] = "oauth2LoginRefreshToken";
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 // in kClientOAuthAcceptsChallengesKey from that original request. 89 // in kClientOAuthAcceptsChallengesKey from that original request.
87 const char kClientOAuthNameKey[] = "name"; 90 const char kClientOAuthNameKey[] = "name";
88 91
89 // The challenge token received in the original ClientOAuth request. 92 // The challenge token received in the original ClientOAuth request.
90 const char kClientOAuthChallengeTokenKey[] = "challenge_token"; 93 const char kClientOAuthChallengeTokenKey[] = "challenge_token";
91 94
92 // The dictionary that contains the challenge response. 95 // The dictionary that contains the challenge response.
93 const char kClientOAuthchallengeReplyKey[] = "challenge_reply"; 96 const char kClientOAuthchallengeReplyKey[] = "challenge_reply";
94 97
95 } // namespace GaiaConstants 98 } // namespace GaiaConstants
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698