29                            const boost::property_tree::ptree &cfg,
    58     using namespace odb::core;
    59     auto db          = 
utils_->database();
    60     schema_version v = db->schema_version(
"module_auth-db");
    61     schema_version cv(schema_catalog::current_version(*db, 
"module_auth-db"));
    64         transaction t(db->begin());
    65         schema_catalog::create_schema(*db, 
"module_auth-db");
    70         INFO(
"AuthDB Module performing database migration. Going from version "    71              << v << 
" to version " << cv);
    72         transaction t(db->begin());
    73         schema_catalog::migrate(*db, cv, 
"module_auth-db");
 
This is the header file for a generated source file, GitSHA1.cpp. 
 
void on_service_event(const service_event::Event &event) override
Function invoked when a service event is triggered. 
 
CoreUtilsPtr utils_
Pointer to the core utils, which gives access to scheduler and others. 
 
Authentication backend modules live here. 
 
Provide ODB magic to be able to store an Leosac::Audit::EventType (FlagSet) object. 
 
This is a base class for boost::asio 'aware' module. 
 
std::shared_ptr< CoreUtils > CoreUtilsPtr
 
AuthDBModule(zmqpp::context &ctx, zmqpp::socket *pipe, const boost::property_tree::ptree &cfg, CoreUtilsPtr utils)