20#ifndef ORES_IAM_SERVICE_BOOTSTRAP_MODE_SERVICE_HPP
21#define ORES_IAM_SERVICE_BOOTSTRAP_MODE_SERVICE_HPP
25#include "ores.iam.core/repository/account_repository.hpp"
26#include "ores.iam.core/service/authorization_service.hpp"
27#include "ores.variability.core/service/system_settings_service.hpp"
28#include "ores.logging/make_logger.hpp"
29#include "ores.database/domain/context.hpp"
52 inline static std::string_view logger_name =
53 "ores.iam.service.bootstrap_mode_service";
55 [[nodiscard]]
static auto& lg() {
57 static auto instance = make_logger(logger_name);
72 std::shared_ptr<authorization_service> auth_service);
113 std::shared_ptr<authorization_service> auth_service_;
Service layer for the IAM module.
Definition auth_session_service.hpp:32
Implements logging infrastructure for ORE Studio.
Definition boost_severity.hpp:28
Context for the operations on a postgres database.
Definition context.hpp:47
Reads and writes accounts off of data storage.
Definition account_repository.hpp:37
Service for managing system bootstrap mode state.
Definition bootstrap_mode_service.hpp:50
void exit_bootstrap_mode()
Transitions the system from bootstrap mode to secure mode.
Definition bootstrap_mode_service.cpp:92
void initialize_bootstrap_state()
Initializes the bootstrap mode state on system startup.
Definition bootstrap_mode_service.cpp:51
bool is_in_bootstrap_mode()
Checks if the system is currently in bootstrap mode.
Definition bootstrap_mode_service.cpp:42
Service for managing typed system settings.
Definition system_settings_service.hpp:41