Home
last modified time | relevance | path

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

1234

/external/cronet/stable/net/http/
Dhttp_auth_handler_digest_unittest.cc709 std::string auth_token; in TEST() local
715 &auth_token)); in TEST()
719 auth_token); in TEST()
723 std::string auth_token; in TEST() local
729 &auth_token)); in TEST()
733 auth_token); in TEST()
737 std::string auth_token; in TEST() local
743 &auth_token)); in TEST()
747 auth_token); in TEST()
751 std::string auth_token; in TEST() local
[all …]
Dhttp_auth_sspi_win_unittest.cc100 std::string auth_token; in TEST() local
103 nullptr, "HTTP/intranet.google.com", std::string(), &auth_token, in TEST()
130 std::string auth_token; in TEST() local
133 nullptr, "HTTP/intranet.google.com", std::string(), &auth_token, in TEST()
150 std::string auth_token; in TEST() local
153 nullptr, "HTTP/intranet.google.com", std::string(), &auth_token, in TEST()
169 std::string auth_token; in TEST() local
172 nullptr, "HTTP/intranet.google.com", std::string(), &auth_token, in TEST()
174 EXPECT_EQ("Negotiate ", auth_token.substr(0, 10)); in TEST()
177 ASSERT_TRUE(base::Base64Decode(auth_token.substr(10), &decoded_token)); in TEST()
[all …]
Dhttp_auth_ntlm_mechanism.cc50 int SetAuthTokenFromBinaryToken(std::string* auth_token, in SetAuthTokenFromBinaryToken() argument
58 *auth_token = std::string("NTLM ") + encode_output; in SetAuthTokenFromBinaryToken()
117 std::string* auth_token, in GenerateAuthToken() argument
129 return SetAuthTokenFromBinaryToken(auth_token, in GenerateAuthToken()
159 return SetAuthTokenFromBinaryToken(auth_token, next_token); in GenerateAuthToken()
Dhttp_auth_handler.cc58 std::string* auth_token) { in GenerateAuthToken() argument
62 DCHECK(auth_token != nullptr); in GenerateAuthToken()
70 auth_token); in GenerateAuthToken()
Dhttp_auth_handler_ntlm_portable.cc61 std::string* auth_token) { in GenerateAuthTokenImpl() argument
63 channel_bindings_, auth_token, net_log(), in GenerateAuthTokenImpl()
Dhttp_auth_handler_unittest.cc35 std::string auth_token; in TEST() local
54 test_callback.callback(), &auth_token); in TEST()
Dhttp_auth_handler_basic_unittest.cc60 std::string auth_token; in TEST() local
63 callback.callback(), &auth_token); in TEST()
65 EXPECT_STREQ(test.expected_credentials, auth_token.c_str()); in TEST()
Dhttp_auth_handler_ntlm_win.cc56 std::string* auth_token) { in GenerateAuthTokenImpl() argument
58 channel_bindings_, auth_token, net_log(), in GenerateAuthTokenImpl()
Dhttp_auth_handler_mock.cc85 std::string* auth_token) { in GenerateAuthTokenImpl() argument
93 auth_token_ = auth_token; in GenerateAuthTokenImpl()
101 *auth_token = "auth_token"; in GenerateAuthTokenImpl()
Dhttp_auth_handler.h101 std::string* auth_token);
205 std::string* auth_token) = 0;
/external/cronet/tot/net/http/
Dhttp_auth_handler_digest_unittest.cc709 std::string auth_token; in TEST() local
715 &auth_token)); in TEST()
719 auth_token); in TEST()
723 std::string auth_token; in TEST() local
729 &auth_token)); in TEST()
733 auth_token); in TEST()
737 std::string auth_token; in TEST() local
743 &auth_token)); in TEST()
747 auth_token); in TEST()
751 std::string auth_token; in TEST() local
[all …]
Dhttp_auth_sspi_win_unittest.cc100 std::string auth_token; in TEST() local
103 nullptr, "HTTP/intranet.google.com", std::string(), &auth_token, in TEST()
130 std::string auth_token; in TEST() local
133 nullptr, "HTTP/intranet.google.com", std::string(), &auth_token, in TEST()
150 std::string auth_token; in TEST() local
153 nullptr, "HTTP/intranet.google.com", std::string(), &auth_token, in TEST()
169 std::string auth_token; in TEST() local
172 nullptr, "HTTP/intranet.google.com", std::string(), &auth_token, in TEST()
174 EXPECT_EQ("Negotiate ", auth_token.substr(0, 10)); in TEST()
177 ASSERT_TRUE(base::Base64Decode(auth_token.substr(10), &decoded_token)); in TEST()
[all …]
Dhttp_auth_ntlm_mechanism.cc50 int SetAuthTokenFromBinaryToken(std::string* auth_token, in SetAuthTokenFromBinaryToken() argument
58 *auth_token = std::string("NTLM ") + encode_output; in SetAuthTokenFromBinaryToken()
117 std::string* auth_token, in GenerateAuthToken() argument
129 return SetAuthTokenFromBinaryToken(auth_token, in GenerateAuthToken()
159 return SetAuthTokenFromBinaryToken(auth_token, next_token); in GenerateAuthToken()
Dhttp_auth_handler.cc58 std::string* auth_token) { in GenerateAuthToken() argument
62 DCHECK(auth_token != nullptr); in GenerateAuthToken()
70 auth_token); in GenerateAuthToken()
Dhttp_auth_handler_ntlm_portable.cc61 std::string* auth_token) { in GenerateAuthTokenImpl() argument
63 channel_bindings_, auth_token, net_log(), in GenerateAuthTokenImpl()
Dhttp_auth_handler_unittest.cc35 std::string auth_token; in TEST() local
54 test_callback.callback(), &auth_token); in TEST()
Dhttp_auth_handler_basic_unittest.cc60 std::string auth_token; in TEST() local
63 callback.callback(), &auth_token); in TEST()
65 EXPECT_STREQ(test.expected_credentials, auth_token.c_str()); in TEST()
Dhttp_auth_handler_ntlm_win.cc56 std::string* auth_token) { in GenerateAuthTokenImpl() argument
58 channel_bindings_, auth_token, net_log(), in GenerateAuthTokenImpl()
Dhttp_auth_handler_mock.cc85 std::string* auth_token) { in GenerateAuthTokenImpl() argument
93 auth_token_ = auth_token; in GenerateAuthTokenImpl()
101 *auth_token = "auth_token"; in GenerateAuthTokenImpl()
Dhttp_auth_handler.h101 std::string* auth_token);
205 std::string* auth_token) = 0;
Dhttp_auth_handler_basic.cc88 std::string* auth_token) { in GenerateAuthTokenImpl() argument
96 *auth_token = "Basic " + base64_username_password; in GenerateAuthTokenImpl()
/external/cronet/stable/net/android/
Dhttp_auth_negotiate_android.cc100 std::string* auth_token, in GenerateAuthTokenAndroid() argument
102 return GenerateAuthToken(credentials, spn, channel_bindings, auth_token, in GenerateAuthTokenAndroid()
110 std::string* auth_token, in GenerateAuthToken() argument
118 DCHECK(auth_token); in GenerateAuthToken()
122 auth_token_ = auth_token; in GenerateAuthToken()
Dhttp_auth_negotiate_android_unittest.cc24 std::string auth_token; in TEST() local
39 nullptr, "Dummy", std::string(), &auth_token, in TEST()
42 EXPECT_EQ("Negotiate DummyToken", auth_token); in TEST()
/external/cronet/tot/net/android/
Dhttp_auth_negotiate_android.cc100 std::string* auth_token, in GenerateAuthTokenAndroid() argument
102 return GenerateAuthToken(credentials, spn, channel_bindings, auth_token, in GenerateAuthTokenAndroid()
110 std::string* auth_token, in GenerateAuthToken() argument
118 DCHECK(auth_token); in GenerateAuthToken()
122 auth_token_ = auth_token; in GenerateAuthToken()
Dhttp_auth_negotiate_android_unittest.cc24 std::string auth_token; in TEST() local
39 nullptr, "Dummy", std::string(), &auth_token, in TEST()
42 EXPECT_EQ("Negotiate DummyToken", auth_token); in TEST()

1234