A set of Session members describing the current authenticated user.
More...
#include <user.h>
Public Types |
enum | PasswordType { NONE,
PLAIN_TEXT,
MYSQL_HASH
} |
Public Member Functions |
| User (str_ref user_arg) |
virtual std::string | getSQLPath () const |
bool | hasPassword () const |
const std::string & | address () const |
void | setAddress (const char *newip) |
const std::string & | username () const |
void | setUser (const std::string &newuser) |
PasswordType | getPasswordType () const |
void | setPasswordType (PasswordType newpassword_type) |
const std::string & | getPasswordContext () const |
void | setPasswordContext (const char *newpassword_context, size_t size) |
Static Public Member Functions |
static DRIZZLED_API user::mptr | make_shared () |
Private Attributes |
PasswordType | password_type |
std::string | _user |
std::string | _address |
std::string | password_context |
Detailed Description
A set of Session members describing the current authenticated user.
Definition at line 34 of file user.h.
The documentation for this class was generated from the following files: