Fabcoin Core  0.16.2
P2P Digital Currency
Public Member Functions | Private Attributes | List of all members
dev::rpc::SessionManager Class Reference

#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, SessionPermissionsm_sessions
 

Detailed Description

Definition at line 38 of file SessionManager.h.

Member Function Documentation

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)

Definition at line 8 of file SessionManager.cpp.

Here is the call graph for this function:

Member Data Documentation

std::unordered_map<std::string, SessionPermissions> dev::rpc::SessionManager::m_sessions
private

Definition at line 46 of file SessionManager.h.


The documentation for this class was generated from the following files: