![]() |
Leosac
0.8.0
Open Source Access Control
|
Interface for PinCode credentials. More...
#include <IPinCode.hpp>
Inheritance diagram for Leosac::Cred::IPinCode:
Collaboration diagram for Leosac::Cred::IPinCode:Public Member Functions | |
| MAKE_VISITABLE_FALLBACK (ICredential) | |
| virtual const std::string & | pin_code () const =0 |
| virtual void | pin_code (const std::string &)=0 |
Public Member Functions inherited from Leosac::Cred::ICredential | |
| MAKE_VISITABLE () | |
| virtual CredentialId | id () const =0 |
| Retrieve the identifier of the credential. More... | |
| virtual void | id (const CredentialId &new_id)=0 |
| Manually set the identifier of a credential. More... | |
| virtual Auth::UserLPtr | owner () const =0 |
| Retrieve the owner of the credential. More... | |
| virtual Auth::UserId | owner_id () const =0 |
Returns the id of the owner, or 0 if there is no owner (or the owner has no id). More... | |
| virtual void | owner (Auth::UserLPtr)=0 |
| Set a new owner for the credential. More... | |
| virtual std::string | alias () const =0 |
| An alias for the credential. More... | |
| virtual void | alias (const std::string &)=0 |
| Set the alias for the credential. More... | |
| virtual std::string | description () const =0 |
| An optional description / notes for the credential. More... | |
| virtual void | description (const std::string &)=0 |
| Set a description for this credential. More... | |
| virtual void | validity (const Auth::ValidityInfo &)=0 |
| Provide the validity info object to the credential. More... | |
| virtual const Auth::ValidityInfo & | validity () const =0 |
| Retrieve validity status from the credential. More... | |
| virtual std::vector< Tools::ScheduleMappingLWPtr > | lazy_schedules_mapping () const =0 |
| Retrieve the lazy_weak_ptr to ScheduleMapping that map this credential. More... | |
| virtual size_t | odb_version () const =0 |
| Credentials are "optimistic" object (wrt ODB). More... | |
Public Member Functions inherited from Leosac::Tools::IVisitable | |
| virtual void | accept (::Leosac::Tools::BaseVisitor &)=0 |
Accept a visitor that may mutate this. More... | |
| virtual void | accept (::Leosac::Tools::BaseVisitor &) const =0 |
Accept a visitor that will not mutate this. More... | |
Additional Inherited Members | |
Static Protected Member Functions inherited from Leosac::Tools::IVisitable | |
| template<class T > | |
| static bool | visitor_dispatch (T &visited, BaseVisitor &visitor, bool abort_on_failure) |
Interface for PinCode credentials.
Definition at line 32 of file IPinCode.hpp.
| Leosac::Cred::IPinCode::MAKE_VISITABLE_FALLBACK | ( | ICredential | ) |
|
pure virtual |
Implemented in Leosac::Cred::PinCode.
|
pure virtual |
Implemented in Leosac::Cred::PinCode.