Searched refs:ScrubSecrets (Results 1 – 4 of 4) sorted by relevance
/device/google/cuttlefish/host/libs/web/http_client/unittest/ |
D | http_client_util_test.cc | 24 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/ |
D | http_client_util.h | 22 std::string ScrubSecrets(const std::string& data);
|
D | http_client_util.cc | 23 std::string ScrubSecrets(const std::string& data) { in ScrubSecrets() function
|
D | http_client.cc | 59 LOG(DEBUG) << ScrubSecrets(TrimWhitespace(data, size)); in LoggingCurlDebugFunction()
|