Home
last modified time | relevance | path

Searched refs:authHeader (Results 1 – 3 of 3) sorted by relevance

/openbmc/bmcweb/include/
H A Dauthentication.hpp39 const boost::asio::ip::address& clientIp, std::string_view authHeader) in performBasicAuth() argument
43 if (!authHeader.starts_with("Basic ")) in performBasicAuth()
48 std::string_view param = authHeader.substr(strlen("Basic ")); in performBasicAuth()
106 std::string_view authHeader) in performTokenAuth() argument
109 if (!authHeader.starts_with("Token ")) in performTokenAuth()
113 std::string_view token = authHeader.substr(strlen("Token ")); in performTokenAuth()
288 std::string_view authHeader = reqHeader["Authorization"]; in authenticate() local
289 BMCWEB_LOG_DEBUG("authHeader={}", authHeader); in authenticate()
294 sessionOut = performTokenAuth(authHeader); in authenticate()
301 sessionOut = performBasicAuth(ipAddress, authHeader); in authenticate()
/openbmc/bmcweb/test/http/
H A Dutility_test.cpp110 std::string authHeader = createBasicAuthHeader("username", "password"); in TEST() local
111 EXPECT_EQ(authHeader, "Basic dXNlcm5hbWU6cGFzc3dvcmQ="); in TEST()
/openbmc/bmcweb/redfish-core/include/
H A Dredfish_aggregator.hpp921 std::string authHeader = crow::utility::createBasicAuthHeader( in prepareAggregationHeaders() local
924 authHeader); in prepareAggregationHeaders()