clang-format: update latest spec and reformat
Copy the latest format file from the docs repository and apply.
Change-Id: I2f0b9d0fb6e01ed36a2f34c750ba52de3b6d15d1
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/include/authentication.hpp b/include/authentication.hpp
index 3021af5..ba4fb44 100644
--- a/include/authentication.hpp
+++ b/include/authentication.hpp
@@ -102,8 +102,8 @@
isConfigureSelfOnly);
}
-inline std::shared_ptr<persistent_data::UserSession>
- performTokenAuth(std::string_view authHeader)
+inline std::shared_ptr<persistent_data::UserSession> performTokenAuth(
+ std::string_view authHeader)
{
BMCWEB_LOG_DEBUG("[AuthMiddleware] Token authentication");
if (!authHeader.starts_with("Token "))
@@ -116,8 +116,8 @@
return sessionOut;
}
-inline std::shared_ptr<persistent_data::UserSession>
- performXtokenAuth(const boost::beast::http::header<true>& reqHeader)
+inline std::shared_ptr<persistent_data::UserSession> performXtokenAuth(
+ const boost::beast::http::header<true>& reqHeader)
{
BMCWEB_LOG_DEBUG("[AuthMiddleware] X-Auth-Token authentication");
@@ -131,9 +131,9 @@
return sessionOut;
}
-inline std::shared_ptr<persistent_data::UserSession>
- performCookieAuth(boost::beast::http::verb method [[maybe_unused]],
- const boost::beast::http::header<true>& reqHeader)
+inline std::shared_ptr<persistent_data::UserSession> performCookieAuth(
+ boost::beast::http::verb method [[maybe_unused]],
+ const boost::beast::http::header<true>& reqHeader)
{
using headers = boost::beast::http::header<true>;
std::pair<headers::const_iterator, headers::const_iterator> cookies =
@@ -224,8 +224,8 @@
}
if (boost::beast::http::verb::get == method)
{
- if ((url == "/redfish") || //
- (url == "/redfish/v1") || //
+ if ((url == "/redfish") || //
+ (url == "/redfish/v1") || //
(url == "/redfish/v1/odata") || //
(url == "/redfish/v1/$metadata"))
{