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

Method hasBasicCredentials

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

Source from the content-addressed store, hash-verified

156
157
158bool HTTPCredentials::hasBasicCredentials(const HTTPRequest& request)
159{
160 return request.has(HTTPRequest::AUTHORIZATION) && isBasicCredentials(request.get(HTTPRequest::AUTHORIZATION));
161}
162
163
164bool HTTPCredentials::hasDigestCredentials(const HTTPRequest& request)

Callers

nothing calls this directly

Calls 2

hasMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected