MCPcopy Create free account
hub / github.com/Tablecruncher/tablecruncher / set_basic_auth

Method set_basic_auth

external/httplib.h:8667–8671  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8665}
8666
8667inline void ClientImpl::set_basic_auth(const std::string &username,
8668 const std::string &password) {
8669 basic_auth_username_ = username;
8670 basic_auth_password_ = password;
8671}
8672
8673inline void ClientImpl::set_bearer_token_auth(const std::string &token) {
8674 bearer_token_auth_token_ = token;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected