Home
last modified time | relevance | path

Searched refs:ScrubSecrets (Results 1 – 4 of 4) sorted by relevance

/device/google/cuttlefish/host/libs/web/http_client/unittest/
Dhttp_client_util_test.cc24 EXPECT_EQ(ScrubSecrets("Authorization: Bearer 123456"), in TEST()
26 EXPECT_EQ(ScrubSecrets("Authorization: Bearer 1234567890"), in TEST()
28 EXPECT_EQ(ScrubSecrets("Authorization: Basic 1234567890"), in TEST()
30 EXPECT_EQ(ScrubSecrets("text\nAuthorization: Bearer 1234567890"), in TEST()
32 EXPECT_EQ(ScrubSecrets("Authorization: Bearer 1234567890\nnext_line"), in TEST()
34 EXPECT_EQ(ScrubSecrets("Authorization: Bearer 1234567890 \nnext_line"), in TEST()
36 EXPECT_EQ(ScrubSecrets("Authorization: Bearer 1234567890 \nnext_line"), in TEST()
41 EXPECT_EQ(ScrubSecrets("hello world"), "hello world"); in TEST()
42 EXPECT_EQ(ScrubSecrets("Authorization: Bearer 12345"), in TEST()
44 EXPECT_EQ(ScrubSecrets("Authorization Bearer 1234567890"), in TEST()
[all …]
/device/google/cuttlefish/host/libs/web/http_client/
Dhttp_client_util.h22 std::string ScrubSecrets(const std::string& data);
Dhttp_client_util.cc23 std::string ScrubSecrets(const std::string& data) { in ScrubSecrets() function
Dhttp_client.cc59 LOG(DEBUG) << ScrubSecrets(TrimWhitespace(data, size)); in LoggingCurlDebugFunction()