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

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: rebase Created 7 years, 7 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
« no previous file with comments | « google_apis/gaia/gaia_constants.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 11 matching lines...) Expand all
22 22
23 // Service name for remoting. 23 // Service name for remoting.
24 const char kRemotingService[] = "chromoting"; 24 const char kRemotingService[] = "chromoting";
25 // Service name for cloud print. 25 // Service name for cloud print.
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 // OAuth2 scope for access to all Google APIs.
33 const char kAnyApiOAuth2Scope[] = "https://www.googleapis.com/auth/any-api";
34
32 // Service for LSO endpoint of Google that exposes OAuth APIs. 35 // Service for LSO endpoint of Google that exposes OAuth APIs.
33 const char kLSOService[] = "lso"; 36 const char kLSOService[] = "lso";
34 37
35 // Used to mint uber auth tokens when needed. 38 // Used to mint uber auth tokens when needed.
36 const char kGaiaSid[] = "sid"; 39 const char kGaiaSid[] = "sid";
37 const char kGaiaLsid[] = "lsid"; 40 const char kGaiaLsid[] = "lsid";
38 const char kGaiaOAuthToken[] = "oauthToken"; 41 const char kGaiaOAuthToken[] = "oauthToken";
39 const char kGaiaOAuthSecret[] = "oauthSecret"; 42 const char kGaiaOAuthSecret[] = "oauthSecret";
40 const char kGaiaOAuthDuration[] = "3600"; 43 const char kGaiaOAuthDuration[] = "3600";
41 const char kGaiaOAuth2LoginRefreshToken[] = "oauth2LoginRefreshToken"; 44 const char kGaiaOAuth2LoginRefreshToken[] = "oauth2LoginRefreshToken";
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 // in kClientOAuthAcceptsChallengesKey from that original request. 85 // in kClientOAuthAcceptsChallengesKey from that original request.
83 const char kClientOAuthNameKey[] = "name"; 86 const char kClientOAuthNameKey[] = "name";
84 87
85 // The challenge token received in the original ClientOAuth request. 88 // The challenge token received in the original ClientOAuth request.
86 const char kClientOAuthChallengeTokenKey[] = "challenge_token"; 89 const char kClientOAuthChallengeTokenKey[] = "challenge_token";
87 90
88 // The dictionary that contains the challenge response. 91 // The dictionary that contains the challenge response.
89 const char kClientOAuthchallengeReplyKey[] = "challenge_reply"; 92 const char kClientOAuthchallengeReplyKey[] = "challenge_reply";
90 93
91 } // namespace GaiaConstants 94 } // namespace GaiaConstants
OLDNEW
« no previous file with comments | « google_apis/gaia/gaia_constants.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698