pion
5.0.6
|
#include <user.hpp>
Public Member Functions | |
user (std::string const &username) | |
construct a new user object | |
user (std::string const &username, std::string const &password) | |
construct a new user object | |
virtual | ~user () |
virtual destructor | |
std::string const & | get_username () const |
returns user name as a string | |
std::string const & | get_password () const |
returns password for the user (encrypted if SSL is enabled) | |
virtual bool | match_password (const std::string &password) const |
virtual void | set_password (const std::string &password) |
sets password credentials for given user | |
Protected Attributes | |
const std::string | m_username |
username string | |
std::string | m_password |
password string (actual contents depends on implementation) |
virtual bool pion::user::match_password | ( | const std::string & | password | ) | const [inline, virtual] |
matches password credential for given user
password | password credentials |
Definition at line 76 of file user.hpp.
References m_password.