Leosac  0.8.0
Open Source Access Control
Auth.hpp File Reference
#include "AuthFwd.hpp"
#include <zmqpp/message.hpp>
+ Include dependency graph for Auth.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Leosac
 This is the header file for a generated source file, GitSHA1.cpp.
 
 Leosac::Auth
 Holds classes relevant to the Authentication and Authorization subsystem.
 

Enumerations

enum  Leosac::Auth::SourceType : uint8_t { Leosac::Auth::SourceType::SIMPLE_WIEGAND = 1, Leosac::Auth::SourceType::WIEGAND_PIN = 2, Leosac::Auth::SourceType::WIEGAND_CARD_PIN = 3, Leosac::Auth::SourceType::SIMPLE_CSN = 4 }
 
enum  Leosac::Auth::AccessStatus : uint8_t { Leosac::Auth::AccessStatus::GRANTED = 1, Leosac::Auth::AccessStatus::DENIED = 2 }
 

Functions

zmqpp::message & operator>> (zmqpp::message &msg, Leosac::Auth::SourceType &t)
 
zmqpp::message & operator<< (zmqpp::message &msg, const Leosac::Auth::SourceType &t)
 
zmqpp::message & operator>> (zmqpp::message &msg, Leosac::Auth::AccessStatus &st)
 
zmqpp::message & operator<< (zmqpp::message &msg, const Leosac::Auth::AccessStatus &st)
 

Function Documentation

◆ operator<<() [1/2]

zmqpp::message& operator<< ( zmqpp::message &  msg,
const Leosac::Auth::AccessStatus st 
)

Definition at line 42 of file Auth.cpp.

◆ operator<<() [2/2]

zmqpp::message& operator<< ( zmqpp::message &  msg,
const Leosac::Auth::SourceType t 
)

Definition at line 22 of file Auth.cpp.

◆ operator>>() [1/2]

zmqpp::message& operator>> ( zmqpp::message &  msg,
Leosac::Auth::AccessStatus st 
)

Definition at line 52 of file Auth.cpp.

◆ operator>>() [2/2]

zmqpp::message& operator>> ( zmqpp::message &  msg,
Leosac::Auth::SourceType t 
)

Definition at line 31 of file Auth.cpp.