/external/chromium_org/remoting/base/ |
H A D | auth_token_util_unittest.cc | 13 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 D | auth_token_util.cc | 11 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 D | auth_token_util.h | 12 // 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 D | login_main.cc | 40 std::string auth_token; local 41 std::getline(std::cin, auth_token); 56 auth_token.c_str());
|
/external/chromium_org/net/http/ |
H A D | http_auth_handler_digest_unittest.cc | 582 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 D | http_auth_sspi_win_unittest.cc | 85 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 D | http_auth_handler.cc | 66 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 D | http_auth_handler.h | 60 // |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 D | http_auth_handler_unittest.cc | 25 std::string auth_token; local 49 test_callback.callback(), &auth_token);
|
H A D | http_auth_handler_basic_unittest.cc | 43 std::string auth_token; local 45 CompletionCallback(), &auth_token); 47 EXPECT_STREQ(tests[i].expected_credentials, auth_token.c_str());
|
H A D | http_auth_handler_ntlm.cc | 34 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 D | http_auth_handler_basic.h | 43 std::string* auth_token) OVERRIDE;
|
/external/chromium_org/sync/internal_api/ |
H A D | syncapi_server_connection_manager.cc | 28 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 D | syncapi_server_connection_manager.h | 31 const std::string& auth_token,
|
/external/chromium_org/chrome/browser/chromeos/policy/ |
H A D | fake_device_cloud_policy_initializer.cc | 43 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 D | fake_device_cloud_policy_initializer.h | 30 const std::string& auth_token,
|
/external/chromium_org/components/pairing/ |
H A D | shark_connection_listener.cc | 42 void SharkConnectionListener::EnrollHost(const std::string& auth_token) { argument
|
H A D | shark_connection_listener.h | 38 virtual void EnrollHost(const std::string& auth_token) OVERRIDE;
|
/external/chromium_org/remoting/protocol/ |
H A D | auth_util.h | 43 const std::string& auth_token);
|
H A D | auth_util.cc | 35 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 D | cloud_print_wipeout.cc | 22 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 D | cloud_print_wipeout.h | 30 void UnregisterPrinters(const std::string& auth_token,
|
/external/chromium_org/third_party/libjingle/source/talk/xmpp/ |
H A D | xmppauth.cc | 46 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 D | drive.cc | 75 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 D | user_info_fetcher.cc | 24 static std::string MakeAuthorizationHeader(const std::string& auth_token) { argument 25 return base::StringPrintf(kAuthorizationHeaderFormat, auth_token.c_str());
|