#include <cgi.h>
Inheritance diagram for Dv::Ticket::Cgi:
Public Member Functions | |
Cgi (const std::string &name, const std::string &login_url, const std::string &default_language, bool ssl_only=false, const std::string &type="text/html", bool debug=false) throw () | |
Constructor. | |
~Cgi () | |
Destructor. | |
Dv::Ticket::Ticket::Ref | ticket () const |
const Dv::Ticket::User & | user () const |
bool | is_ssl () const |
const std::string & | language () const |
Static Public Attributes | |
static const char * | TICKET |
Name of cookie. | |
static const char * | SERVER_HOST |
Name of cookie. | |
static const char * | SERVER_PORT |
Name of cookie. | |
static const char * | LANGUAGE |
Name of cookie. | |
Private Attributes | |
Dv::Ticket::Ticket::Ref | ticket_ |
the ticket, identifying an authenticated user (or, possibly, an anonymous user), associated with this CGI object | |
bool | is_ssl_ |
true iff this cgi program must be accessed only using SSL connections | |
std::string | language_ |
language to communicate with the user |
One of the advantages of this class is that the cgi program never needs to handle or know passwords.
Definition at line 17 of file cgi.h.
|
Constructor. Upon success, the identity of the use is known.
|
|
Destructor.
Reimplemented from Dv::Cgi::Cgi. |
|
Definition at line 45 of file cgi.h. References ticket_. |
|
Definition at line 47 of file cgi.h. References ticket_. |
|
Definition at line 49 of file cgi.h. References is_ssl_. |
|
Definition at line 51 of file cgi.h. References language_. |
|
Name of cookie.
|
|
Name of cookie.
|
|
Name of cookie.
|
|
Name of cookie.
|
|
the ticket, identifying an authenticated user (or, possibly, an anonymous user), associated with this CGI object
|
|
true iff this cgi program must be accessed only using SSL connections
Definition at line 59 of file cgi.h. Referenced by is_ssl(). |
|
language to communicate with the user
Definition at line 61 of file cgi.h. Referenced by language(). |
dvticket-0.7.6 | [22 January, 2006] |