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

Method fromURI

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

Source from the content-addressed store, hash-verified

60
61
62void HTTPCredentials::fromURI(const URI& uri)
63{
64 std::string username;
65 std::string password;
66
67 extractCredentials(uri, username, password);
68 setUsername(username);
69 setPassword(password);
70 _digest.reset();
71}
72
73
74void HTTPCredentials::authenticate(HTTPRequest& request, const HTTPResponse& response)

Callers

nothing calls this directly

Calls 1

resetMethod · 0.45

Tested by

no test coverage detected