|
Wt
4.10.0
|
A default implementation for an authentication token in Wt::Dbo. More...
#include <Wt/Auth/Dbo/AuthInfo.h>
Public Member Functions | |
| AuthToken () | |
| Default constructor. | |
| AuthToken (const std::string &value, const Wt::WDateTime &expires) | |
| Constructor. | |
| Wt::Dbo::ptr< AuthInfoType > | authInfo () const |
| Returns the token owner. | |
| const std::string & | value () const |
| Returns the token value. | |
| void | setValue (const std::string &value) |
| Sets the token value. | |
| const Wt::WDateTime & | expires () const |
| Returns the token expiry date. | |
| template<class Action > | |
| void | persist (Action &a) |
| Wt::Dbo persist implementation. | |
Public Member Functions inherited from Wt::Dbo::Dbo< AuthToken< AuthInfoType > > | |
| Dbo () | |
| Constructor. | |
| Dbo (const Dbo< AuthToken< AuthInfoType > > &other) | |
| Copy constructor. | |
| dbo_traits< AuthToken< AuthInfoType > >::IdType | id () const |
| Returns the database id. | |
| Session * | session () const |
| Returns the session. | |
| void | setDirty () |
| Marks the object as modified. | |
| bool | isDirty () const |
| Returns whether this object is dirty. | |
| ptr< AuthToken< AuthInfoType > > | self () const |
| Returns a dbo::ptr to this object. | |