MCPcopy Create free account
hub / github.com/ClickHouse/ClickHouse / fromUserInfo

Method fromUserInfo

base/poco/Net/src/HTTPCredentials.cpp:50–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48
49
50void HTTPCredentials::fromUserInfo(const std::string& userInfo)
51{
52 std::string username;
53 std::string password;
54
55 extractCredentials(userInfo, username, password);
56 setUsername(username);
57 setPassword(password);
58 _digest.reset();
59}
60
61
62void HTTPCredentials::fromURI(const URI& uri)

Callers 1

applyAuthMethod · 0.80

Calls 1

resetMethod · 0.45

Tested by

no test coverage detected