20#ifndef ORES_IAM_SERVICE_BOOTSTRAP_MODE_SERVICE_HPP
21#define ORES_IAM_SERVICE_BOOTSTRAP_MODE_SERVICE_HPP
24#include "ores.iam/repository/account_repository.hpp"
25#include "ores.iam/service/authorization_service.hpp"
26#include "ores.variability/service/system_flags_service.hpp"
27#include "ores.logging/make_logger.hpp"
28#include "ores.database/domain/context.hpp"
51 inline static std::string_view logger_name =
52 "ores.iam.service.bootstrap_mode_service";
54 [[nodiscard]]
static auto& lg() {
56 static auto instance = make_logger(logger_name);
70 std::shared_ptr<authorization_service> auth_service);
111 std::shared_ptr<authorization_service> auth_service_;
Service layer for the IAM module.
Definition account_service.hpp:34
Implements logging infrastructure for ORE Studio.
Definition boost_severity.hpp:28
Context for the operations on a postgres database.
Definition context.hpp:30
Reads and writes accounts off of data storage.
Definition account_repository.hpp:36
Service for managing system bootstrap mode state.
Definition bootstrap_mode_service.hpp:49
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 accessing well-known system flags with type-safe methods.
Definition system_flags_service.hpp:47