Home
last modified time | relevance | path

Searched refs:auth_token (Results 1 – 25 of 63) sorted by relevance

123

/external/chromium/net/http/
Dhttp_auth_handler_digest_unittest.cc566 std::string auth_token; in TEST() local
572 &auth_token)); in TEST()
576 auth_token); in TEST()
580 std::string auth_token; in TEST() local
586 &auth_token)); in TEST()
590 auth_token); in TEST()
594 std::string auth_token; in TEST() local
600 &auth_token)); in TEST()
604 auth_token); in TEST()
608 std::string auth_token; in TEST() local
[all …]
Dhttp_auth_sspi_win_unittest.cc84 std::string auth_token; in TEST() local
87 &auth_token)); in TEST()
121 std::string auth_token; in TEST() local
124 &auth_token)); in TEST()
144 std::string auth_token; in TEST() local
147 &auth_token)); in TEST()
Dhttp_auth_gssapi_posix_unittest.cc200 std::string auth_token; in TEST() local
203 &auth_token)); in TEST()
238 std::string auth_token; in TEST() local
241 &auth_token)); in TEST()
262 std::string auth_token; in TEST() local
265 &auth_token)); in TEST()
Dhttp_auth_handler.cc69 std::string* auth_token) { in GenerateAuthToken() argument
74 DCHECK(auth_token != NULL); in GenerateAuthToken()
79 &wrapper_callback_, auth_token); in GenerateAuthToken()
Dhttp_auth_handler_basic_unittest.cc42 std::string auth_token; in TEST() local
44 NULL, &auth_token); in TEST()
46 EXPECT_STREQ(tests[i].expected_credentials, auth_token.c_str()); in TEST()
Dhttp_auth_handler_ntlm.cc36 std::string* auth_token) { in GenerateAuthTokenImpl() argument
42 auth_token); in GenerateAuthTokenImpl()
103 *auth_token = std::string("NTLM ") + encode_output; in GenerateAuthTokenImpl()
Dhttp_auth_handler_mock.cc98 std::string* auth_token) { in GenerateAuthTokenImpl() argument
105 auth_token_ = auth_token; in GenerateAuthTokenImpl()
112 *auth_token = "auth_token"; in GenerateAuthTokenImpl()
Dhttp_auth_handler_unittest.cc25 std::string auth_token; in TEST() local
48 &test_callback, &auth_token); in TEST()
Dhttp_auth_handler.h76 std::string* auth_token);
158 std::string* auth_token) = 0;
Dhttp_auth_handler_basic.cc75 std::string* auth_token) { in GenerateAuthTokenImpl() argument
83 *auth_token = "Basic " + base64_username_password; in GenerateAuthTokenImpl()
/external/chromium/chrome/browser/net/gaia/
Dtoken_service.cc108 const std::string& auth_token) { in SaveAuthTokenToDB() argument
110 web_data_service_->SetTokenForService(service, auth_token); in SaveAuthTokenToDB()
163 const std::string& auth_token) { in FireTokenAvailableNotification() argument
165 TokenAvailableDetails details(service, auth_token); in FireTokenAvailableNotification()
184 const std::string& auth_token) { in IssueAuthTokenForTest() argument
185 token_map_[service] = auth_token; in IssueAuthTokenForTest()
186 FireTokenAvailableNotification(service, auth_token); in IssueAuthTokenForTest()
190 const std::string& auth_token) { in OnIssueAuthTokenSuccess() argument
193 token_map_[service] = auth_token; in OnIssueAuthTokenSuccess()
194 FireTokenAvailableNotification(service, auth_token); in OnIssueAuthTokenSuccess()
[all …]
Dtoken_service.h135 const std::string& auth_token);
139 const std::string& auth_token);
155 const std::string& auth_token);
164 const std::string& auth_token);
/external/chromium/chrome/browser/policy/
Ddevice_policy_identity_strategy.cc70 const std::string& auth_token) { in SetAuthCredentials() argument
72 auth_token_ = auth_token; in SetAuthCredentials()
93 std::string* auth_token) { in GetCredentials() argument
95 *auth_token = auth_token_; in GetCredentials()
97 return !username->empty() && !auth_token->empty(); in GetCredentials()
Dmock_device_management_service.cc16 const std::string& auth_token, in ProcessRegisterRequest() argument
20 backend_->ProcessRegisterRequest(auth_token, device_id, request, delegate); in ProcessRegisterRequest()
Ddevice_management_backend_impl.cc150 void SetAuthToken(const std::string& auth_token) { in SetAuthToken() argument
151 auth_token_ = auth_token; in SetAuthToken()
278 const std::string& auth_token, in DeviceManagementRegisterJob() argument
287 SetAuthToken(auth_token); in DeviceManagementRegisterJob()
458 const std::string& auth_token, in ProcessRegisterRequest() argument
462 AddJob(new DeviceManagementRegisterJob(this, auth_token, device_id, request, in ProcessRegisterRequest()
Ddevice_policy_identity_strategy.h28 const std::string& auth_token);
49 std::string* auth_token) OVERRIDE;
Dcloud_policy_controller_unittest.cc53 ACTION_P2(MockCloudPolicyIdentityStrategyGetCredentials, username, auth_token) { in ACTION_P2() argument
55 *arg1 = auth_token; in ACTION_P2()
133 const std::string& auth_token) { in SetupIdentityStrategy() argument
148 MockCloudPolicyIdentityStrategyGetCredentials(user_name, auth_token)); in SetupIdentityStrategy()
Duser_policy_identity_strategy.cc186 std::string* auth_token) { in GetCredentials() argument
188 *auth_token = profile_->GetTokenService()->GetTokenForService( in GetCredentials()
191 return !username->empty() && !auth_token->empty() && !device_id_.empty(); in GetCredentials()
/external/chromium/chrome/common/net/gaia/
Dgaia_authenticator.cc292 results->auth_token = message_text; in IssueAuthToken()
311 results->auth_token = i->second; in ExtractTokensFrom()
378 void GaiaAuthenticator::RenewAuthToken(const string& auth_token) { in RenewAuthToken() argument
380 DCHECK(!this->auth_token().empty()); in RenewAuthToken()
381 auth_results_.auth_token = auth_token; in RenewAuthToken()
383 void GaiaAuthenticator::SetAuthToken(const string& auth_token) { in SetAuthToken() argument
385 auth_results_.auth_token = auth_token; in SetAuthToken()
Dgaia_authenticator.h130 virtual void RenewAuthToken(const std::string& auth_token);
131 void SetAuthToken(const std::string& auth_token);
143 std::string auth_token; member
210 inline std::string auth_token() const { in auth_token() function
212 return auth_results_.auth_token; in auth_token()
/external/chromium/chrome/browser/chromeos/login/
Dimage_downloader.cc28 const std::string& auth_token) in ImageDownloader() argument
34 if (!auth_token.empty()) { in ImageDownloader()
36 base::StringPrintf(kAuthorizationHeader, auth_token.c_str())); in ImageDownloader()
/external/chromium/chrome/browser/sync/engine/net/
Dsyncapi_server_connection_manager.cc25 const std::string& auth_token, in Init() argument
38 if (!auth_token.empty()) { in Init()
39 std::string headers = "Authorization: GoogleLogin auth=" + auth_token; in Init()
Dserver_connection_manager.h191 const std::string& auth_token,
303 void set_auth_token(const std::string& auth_token) { in set_auth_token() argument
306 auth_token_.assign(auth_token); in set_auth_token()
309 const std::string auth_token() const { in auth_token() function
334 const std::string& auth_token,
/external/chromium/chrome/browser/remoting/
Ddirectory_add_request.cc31 const std::string& auth_token, in AddHost() argument
50 headers.SetHeader("Authorization", "GoogleLogin auth=" + auth_token); in AddHost()
Dsetup_flow_login_step.cc109 const std::string& service, const std::string& auth_token) { in OnIssueAuthTokenSuccess() argument
111 flow()->context()->talk_token = auth_token; in OnIssueAuthTokenSuccess()

123