|
Leosac
0.8.0
Open Source Access Control
|
Go to the documentation of this file.
36 const boost::property_tree::ptree &cfg,
CoreUtilsPtr utils);
56 const std::string &card,
int nb_bits);
void handle_msg_bus()
Process a message that was read on the bus.
Base class for module implementation.
bool verify_peer_
If SSL is enabled, do we perform certificate validation ?
WebServiceNotifier(zmqpp::context &ctx, zmqpp::socket *pipe, const boost::property_tree::ptree &cfg, CoreUtilsPtr utils)
This is the header file for a generated source file, GitSHA1.cpp.
void send_to_target(void *curl, const std::string &auth_source, const Cred::RFIDCard &card, const TargetInfo &target) noexcept
zmqpp::socket bus_sub_
Read internal message bus.
std::vector< TargetInfo > targets_
Some information for each webservice target.
void process_config()
Process the configuration file.
std::string CA_info_file_
Path to a CA bundle file.
bool verify_host_
If SSL is enabled, do we perform certificate hostname validation ?
void send_card_info_to_remote(const std::string &auth_source, const std::string &card, int nb_bits)
Send an HTTP request to the remote webservice to let it know a card was read.
std::shared_ptr< CoreUtils > CoreUtilsPtr