OLD | NEW |
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 used by IssueAuthToken and ClientLogin | 5 // Constants used by IssueAuthToken and ClientLogin |
6 | 6 |
7 #ifndef GOOGLE_APIS_GAIA_GAIA_CONSTANTS_H_ | 7 #ifndef GOOGLE_APIS_GAIA_GAIA_CONSTANTS_H_ |
8 #define GOOGLE_APIS_GAIA_GAIA_CONSTANTS_H_ | 8 #define GOOGLE_APIS_GAIA_GAIA_CONSTANTS_H_ |
9 | 9 |
10 namespace GaiaConstants { | 10 namespace GaiaConstants { |
(...skipping 15 matching lines...) Expand all Loading... |
26 extern const char kGaiaSid[]; | 26 extern const char kGaiaSid[]; |
27 extern const char kGaiaLsid[]; | 27 extern const char kGaiaLsid[]; |
28 extern const char kGaiaOAuthToken[]; | 28 extern const char kGaiaOAuthToken[]; |
29 extern const char kGaiaOAuthSecret[]; | 29 extern const char kGaiaOAuthSecret[]; |
30 extern const char kGaiaOAuthDuration[]; | 30 extern const char kGaiaOAuthDuration[]; |
31 extern const char kGaiaOAuth2LoginRefreshToken[]; | 31 extern const char kGaiaOAuth2LoginRefreshToken[]; |
32 | 32 |
33 // Used to construct a channel ID for push messaging. | 33 // Used to construct a channel ID for push messaging. |
34 extern const char kObfuscatedGaiaId[]; | 34 extern const char kObfuscatedGaiaId[]; |
35 | 35 |
36 // Used to build ClientOAuth requests. These are the names of keys used in | 36 // Used by wallet sign in helper. |
37 // the json dictionaries that are sent in the protocol. | |
38 extern const char kClientOAuthEmailKey[]; | 37 extern const char kClientOAuthEmailKey[]; |
39 extern const char kClientOAuthPasswordKey[]; | |
40 extern const char kClientOAuthScopesKey[]; | |
41 extern const char kClientOAuthOAuth2ClientIdKey[]; | |
42 extern const char kClientOAuthFriendlyDeviceNameKey[]; | |
43 extern const char kClientOAuthAcceptsChallengesKey[]; | |
44 extern const char kClientOAuthLocaleKey[]; | |
45 extern const char kClientOAuthFallbackNameKey[]; | |
46 extern const char kClientOAuthNameKey[]; | |
47 extern const char kClientOAuthChallengeTokenKey[]; | |
48 extern const char kClientOAuthchallengeReplyKey[]; | |
49 | 38 |
50 } // namespace GaiaConstants | 39 } // namespace GaiaConstants |
51 | 40 |
52 #endif // GOOGLE_APIS_GAIA_GAIA_CONSTANTS_H_ | 41 #endif // GOOGLE_APIS_GAIA_GAIA_CONSTANTS_H_ |
OLD | NEW |