6#include <userver/engine/mutex.hpp>
7#include <userver/server/handlers/http_handler_base.hpp>
16class HandlerInfoIndex;
19namespace server::handlers::
auth {
24namespace server::handlers {
75 ImplicitOptions(
const components::ComponentConfig& config,
76 const components::ComponentContext& component_context,
77 bool is_monitor =
false);
79 ~ImplicitOptions()
override;
82 const server::
http::HttpRequest& request,
83 server::
request::RequestContext& context)
const override;
91 std::string ExtractAllowedMethods(
const std::string& path)
const;
93 const http::HandlerInfoIndex& GetHandlerInfoIndex()
const;
95 const Server& server_;
96 const AuthCheckers auth_checkers_;
98 mutable engine::Mutex handler_info_index_mutex_;
99 mutable const http::HandlerInfoIndex* handler_info_index_ =
nullptr;
106 components::kHasValidate<server::handlers::ImplicitOptions> =
true;