|
PionNetworkLibrary
|
#include <user.hpp>


Public Member Functions | |
| user (std::string const &username) | |
| construct a new user object More... | |
| user (std::string const &username, std::string const &password) | |
| construct a new user object More... | |
| virtual | ~user () |
| virtual destructor More... | |
| std::string const & | get_username () const |
| returns user name as a string More... | |
| std::string const & | get_password () const |
| returns password for the user (encrypted if SSL is enabled) More... | |
| virtual bool | match_password (const std::string &password) const |
| virtual void | set_password (const std::string &password) |
| sets password credentials for given user More... | |
Protected Attributes | |
| const std::string | m_username |
| username string More... | |
| std::string | m_password |
| password string (actual contents depends on implementation) More... | |
user: base class to store user credentials
|
inline |
construct a new user object
|
inline |
construct a new user object
References set_password().
|
inlinevirtual |
virtual destructor
|
inline |
returns password for the user (encrypted if SSL is enabled)
References m_password.
|
inline |
returns user name as a string
References m_username.
|
inlinevirtual |
matches password credential for given user
| password | password credentials |
References m_password.
|
inlinevirtual |
|
protected |
password string (actual contents depends on implementation)
Referenced by get_password(), match_password(), and set_password().
|
protected |
username string
Referenced by get_username().