Fabcoin Core
0.16.2
P2P Digital Currency
|
#include <SessionManager.h>
Public Member Functions | |
std::string | newSession (SessionPermissions const &_p) |
void | addSession (std::string const &_session, SessionPermissions const &_p) |
bool | hasPrivilegeLevel (std::string const &_session, Privilege _l) const |
Private Attributes | |
std::unordered_map< std::string, SessionPermissions > | m_sessions |
Definition at line 38 of file SessionManager.h.
void SessionManager::addSession | ( | std::string const & | _session, |
SessionPermissions const & | _p | ||
) |
Definition at line 15 of file SessionManager.cpp.
bool SessionManager::hasPrivilegeLevel | ( | std::string const & | _session, |
Privilege | _l | ||
) | const |
Definition at line 20 of file SessionManager.cpp.
std::string SessionManager::newSession | ( | SessionPermissions const & | _p | ) |
|
private |
Definition at line 46 of file SessionManager.h.