Barracuda Application Server C/C++ Reference
NO
|
Abstract base class implemented by BasicAuthUser, FormAuthUser and DigestAuthUser.
Please see the User Authentication documentation for more information.
#include <AuthenticatedUser.h>
Public Member Functions | |
HttpSession * | getSession () |
Get the session object. More... | |
const char * | getPassword () |
Returns the user's password. | |
const char * | getName () |
Returns the user's name. | |
void | logout (bool all=false) |
Logout user and terminate the session object. More... | |
AuthenticatedUserType | getType () |
Returns the authenticator type that was used to authenticate this user. More... | |
Static Public Member Functions | |
static AuthenticatedUser * | get (HttpRequest *request) |
Returns a pointer to an instance of class AuthenticatedUser if a session object exists and if the user is authenticated, otherwise NULL is returned. More... | |
static AuthenticatedUser * | get (HttpSession *session) |
Returns a pointer to an instance of class AuthenticatedUser if the user is authenticated, otherwise NULL is returned. More... | |
static AuthenticatedUser * | getAnonymous () |
non public | |