Leosac
0.8.0
Open Source Access Control
|
Holds information about access permission. More...
#include <IAccessProfile.hpp>
Public Member Functions | |
virtual bool | isAccessGranted (const std::chrono::system_clock::time_point &date, AuthTargetPtr target)=0 |
Does the profile allow access to the user. More... | |
virtual size_t | schedule_count () const =0 |
Holds information about access permission.
Definition at line 36 of file IAccessProfile.hpp.
|
pure virtual |
Does the profile allow access to the user.
date | the time point at which we try to get access. |
target | the door we want to open. |
Implemented in Leosac::Auth::SimpleAccessProfile.
|
pure virtual |
Implemented in Leosac::Auth::SimpleAccessProfile.