Searched refs:auth_token (Results 1 - 25 of 103) sorted by relevance

12345

/external/chromium_org/remoting/base/
H A Dauth_token_util_unittest.cc13 std::string auth_token; local
16 ParseAuthTokenWithService("service:token", &auth_token, &auth_service);
17 EXPECT_EQ("token", auth_token);
21 ParseAuthTokenWithService("token2", &auth_token, &auth_service);
22 EXPECT_EQ("token2", auth_token);
25 ParseAuthTokenWithService("just_service:", &auth_token, &auth_service);
26 EXPECT_EQ("", auth_token);
29 ParseAuthTokenWithService("yay:token:has:colons", &auth_token, &auth_service);
30 EXPECT_EQ("token:has:colons", auth_token);
H A Dauth_token_util.cc11 std::string* auth_token,
16 // auth_token, and that we're using the default service.
20 auth_token->assign(auth_service_with_token);
27 auth_token->assign(auth_service_with_token.substr(delimiter_pos + 1));
29 auth_token->clear();
10 ParseAuthTokenWithService(const std::string& auth_service_with_token, std::string* auth_token, std::string* auth_service) argument
H A Dauth_token_util.h12 // Given a string of the form "auth_service:auth_token" parses it into its
15 std::string* auth_token,
/external/chromium_org/third_party/libjingle/source/talk/examples/login/
H A Dlogin_main.cc40 std::string auth_token; local
41 std::getline(std::cin, auth_token);
56 auth_token.c_str());
/external/chromium_org/net/http/
H A Dhttp_auth_handler_digest_unittest.cc582 std::string auth_token; local
588 &auth_token));
592 auth_token);
596 std::string auth_token; local
602 &auth_token));
606 auth_token);
610 std::string auth_token; local
616 &auth_token));
620 auth_token);
624 std::string auth_token; local
638 std::string auth_token; local
652 std::string auth_token; local
666 std::string auth_token; local
681 std::string auth_token; local
[all...]
H A Dhttp_auth_sspi_win_unittest.cc85 std::string auth_token; local
87 &auth_token));
121 std::string auth_token; local
123 &auth_token));
143 std::string auth_token; local
145 &auth_token));
H A Dhttp_auth_handler.cc66 const CompletionCallback& callback, std::string* auth_token) {
70 DCHECK(auth_token != NULL);
78 auth_token);
64 GenerateAuthToken( const AuthCredentials* credentials, const HttpRequestInfo* request, const CompletionCallback& callback, std::string* auth_token) argument
H A Dhttp_auth_handler.h60 // |request|, |callback|, and |auth_token| must be non-NULL.
64 // If |OK| is returned, |*auth_token| is filled in with an authentication
67 // If |ERR_IO_PENDING| is returned, |*auth_token| will be filled in
69 // |request|, |callback|, and |auth_token| must last until |callback| is
73 // token, and the value of |*auth_token| is unspecified.
77 std::string* auth_token);
163 std::string* auth_token) = 0;
H A Dhttp_auth_handler_unittest.cc25 std::string auth_token; local
49 test_callback.callback(), &auth_token);
H A Dhttp_auth_handler_basic_unittest.cc43 std::string auth_token; local
45 CompletionCallback(), &auth_token);
47 EXPECT_STREQ(tests[i].expected_credentials, auth_token.c_str());
H A Dhttp_auth_handler_ntlm.cc34 const CompletionCallback& callback, std::string* auth_token) {
39 auth_token);
96 *auth_token = std::string("NTLM ") + encode_output;
32 GenerateAuthTokenImpl( const AuthCredentials* credentials, const HttpRequestInfo* request, const CompletionCallback& callback, std::string* auth_token) argument
H A Dhttp_auth_handler_basic.h43 std::string* auth_token) OVERRIDE;
/external/chromium_org/sync/internal_api/
H A Dsyncapi_server_connection_manager.cc28 const std::string& auth_token,
40 if (!auth_token.empty()) {
42 headers = "Authorization: Bearer " + auth_token;
27 Init(const char* path, const std::string& auth_token, const std::string& payload, HttpResponse* response) argument
H A Dsyncapi_server_connection_manager.h31 const std::string& auth_token,
/external/chromium_org/chrome/browser/chromeos/policy/
H A Dfake_device_cloud_policy_initializer.cc43 const std::string& auth_token,
40 StartEnrollment( enterprise_management::PolicyData::ManagementMode management_mode, DeviceManagementService* device_management_service, const std::string& auth_token, bool is_auto_enrollment, const AllowedDeviceModes& allowed_modes, const EnrollmentCallback& enrollment_callback) argument
H A Dfake_device_cloud_policy_initializer.h30 const std::string& auth_token,
/external/chromium_org/components/pairing/
H A Dshark_connection_listener.cc42 void SharkConnectionListener::EnrollHost(const std::string& auth_token) { argument
H A Dshark_connection_listener.h38 virtual void EnrollHost(const std::string& auth_token) OVERRIDE;
/external/chromium_org/remoting/protocol/
H A Dauth_util.h43 const std::string& auth_token);
H A Dauth_util.cc35 const std::string& auth_token) {
38 return expected_token == auth_token;
33 VerifySupportAuthToken(const std::string& jid, const std::string& access_code, const std::string& auth_token) argument
/external/chromium_org/chrome/service/cloud_print/
H A Dcloud_print_wipeout.cc22 const std::string& auth_token,
24 auth_token_ = auth_token;
21 UnregisterPrinters( const std::string& auth_token, const std::list<std::string>& printer_ids) argument
H A Dcloud_print_wipeout.h30 void UnregisterPrinters(const std::string& auth_token,
/external/chromium_org/third_party/libjingle/source/talk/xmpp/
H A Dxmppauth.cc46 const std::string& auth_token) {
50 auth_token_ = auth_token;
42 StartPreXmppAuth(const buzz::Jid& jid, const rtc::SocketAddress& server, const rtc::CryptString& pass, const std::string& auth_mechanism, const std::string& auth_token) argument
/external/chromium_org/native_client_sdk/src/examples/demo/drive/
H A Ddrive.cc75 void AddAuthTokenHeader(std::string* s, const std::string& auth_token) { argument
77 *s += auth_token;
169 const std::string& auth_token,
185 AddAuthTokenHeader(&p.request_headers, auth_token);
255 const std::string& auth_token,
281 AddAuthTokenHeader(&p.request_headers, auth_token);
313 void ThreadSetAuthToken(int32_t, const std::string& auth_token);
361 std::string auth_token = message.substr(kTokenMessageLen); local
363 &Instance::ThreadSetAuthToken, auth_token));
385 const std::string& auth_token) {
168 ListFiles(pp::Instance* instance, const std::string& auth_token, const ListFilesParams& params, Json::Value* root) argument
254 InsertFile(pp::Instance* instance, const std::string& auth_token, const InsertFileParams& params, Json::Value* root) argument
384 ThreadSetAuthToken(int32_t , const std::string& auth_token) argument
[all...]
/external/chromium_org/components/policy/core/common/cloud/
H A Duser_info_fetcher.cc24 static std::string MakeAuthorizationHeader(const std::string& auth_token) { argument
25 return base::StringPrintf(kAuthorizationHeaderFormat, auth_token.c_str());

Completed in 417 milliseconds

12345