Fix includes
Clang-tidy misc-include-cleaner appears to now be enforcing
significantly more headers than previously. That is overall a good
thing, but forces us to fix some issues. This commit is largely just
taking the clang-recommended fixes and checking them in. Subsequent
patches will fix the more unique issues.
Note, that a number of new ignores are added into the .clang-tidy file.
These can be cleaned up over time as they're understood. The majority
are places where boost includes a impl/x.hpp and x.hpp, but expects you
to use the later. include-cleaner opts for the impl, but it isn't clear
why.
Change-Id: Id3fdd7ee6df6c33b2fd35626898523048dd51bfb
Signed-off-by: Ed Tanous <etanous@nvidia.com>
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
diff --git a/include/authentication.hpp b/include/authentication.hpp
index 9bb0351..3021af5 100644
--- a/include/authentication.hpp
+++ b/include/authentication.hpp
@@ -2,17 +2,31 @@
// SPDX-FileCopyrightText: Copyright OpenBMC Authors
#pragma once
-#include "cookies.hpp"
-#include "forward_unauthorized.hpp"
-#include "http_request.hpp"
+#include "bmcweb_config.h"
+
#include "http_response.hpp"
-#include "http_utility.hpp"
+#include "logging.hpp"
+#include "ossl_random.hpp"
#include "pam_authenticate.hpp"
+#include "sessions.hpp"
+#include "utility.hpp"
+#include "utils/ip_utils.hpp"
#include "webroutes.hpp"
+#include <security/_pam_types.h>
+
+#include <boost/asio/ip/address.hpp>
+#include <boost/beast/http/field.hpp>
+#include <boost/beast/http/message.hpp>
+#include <boost/beast/http/verb.hpp>
#include <boost/container/flat_set.hpp>
-#include <random>
+#include <cstddef>
+#include <cstring>
+#include <memory>
+#include <optional>
+#include <string>
+#include <string_view>
#include <utility>
namespace crow