OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 #ifndef GOOGLE_APIS_GAIA_FAKE_GAIA_H_ | 5 #ifndef GOOGLE_APIS_GAIA_FAKE_GAIA_H_ |
6 #define GOOGLE_APIS_GAIA_FAKE_GAIA_H_ | 6 #define GOOGLE_APIS_GAIA_FAKE_GAIA_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 void Update(const MergeSessionParams& params); | 57 void Update(const MergeSessionParams& params); |
58 | 58 |
59 // Values of SID and LSID cookie that are set by /ServiceLoginAuth or its | 59 // Values of SID and LSID cookie that are set by /ServiceLoginAuth or its |
60 // equivalent at the end of the SAML login flow. | 60 // equivalent at the end of the SAML login flow. |
61 std::string auth_sid_cookie; | 61 std::string auth_sid_cookie; |
62 std::string auth_lsid_cookie; | 62 std::string auth_lsid_cookie; |
63 | 63 |
64 // auth_code cookie value response for /o/oauth2/programmatic_auth call. | 64 // auth_code cookie value response for /o/oauth2/programmatic_auth call. |
65 std::string auth_code; | 65 std::string auth_code; |
66 | 66 |
67 // OAuth2 refresh and access token generated by /o/oauth2/token call | 67 // OAuth2 refresh and access token generated by /oauth2/v4/token call |
68 // with "...&grant_type=authorization_code". | 68 // with "...&grant_type=authorization_code". |
69 std::string refresh_token; | 69 std::string refresh_token; |
70 std::string access_token; | 70 std::string access_token; |
71 | 71 |
72 // Uber token response from /OAuthLogin call. | 72 // Uber token response from /OAuthLogin call. |
73 std::string gaia_uber_token; | 73 std::string gaia_uber_token; |
74 | 74 |
75 // Values of SID and LSID cookie generated from /MergeSession call. | 75 // Values of SID and LSID cookie generated from /MergeSession call. |
76 std::string session_sid_cookie; | 76 std::string session_sid_cookie; |
77 std::string session_lsid_cookie; | 77 std::string session_lsid_cookie; |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
227 std::string service_login_response_; | 227 std::string service_login_response_; |
228 std::string embedded_setup_chromeos_response_; | 228 std::string embedded_setup_chromeos_response_; |
229 SamlAccountIdpMap saml_account_idp_map_; | 229 SamlAccountIdpMap saml_account_idp_map_; |
230 bool issue_oauth_code_cookie_; | 230 bool issue_oauth_code_cookie_; |
231 RefreshTokenToDeviceIdMap refresh_token_to_device_id_map_; | 231 RefreshTokenToDeviceIdMap refresh_token_to_device_id_map_; |
232 | 232 |
233 DISALLOW_COPY_AND_ASSIGN(FakeGaia); | 233 DISALLOW_COPY_AND_ASSIGN(FakeGaia); |
234 }; | 234 }; |
235 | 235 |
236 #endif // GOOGLE_APIS_GAIA_FAKE_GAIA_H_ | 236 #endif // GOOGLE_APIS_GAIA_FAKE_GAIA_H_ |
OLD | NEW |