Wt  3.2.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Public Member Functions | List of all members
Wt::Auth::Dbo::AuthToken< AuthInfoType > Class Template Reference

A default implementation for an authentication token in Wt::Dbo. More...

#include <Wt/Auth/Dbo/AuthInfo>

Inheritance diagram for Wt::Auth::Dbo::AuthToken< AuthInfoType >:
Inheritance graph
[legend]

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.
const Wt::WDateTimeexpires () 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_traits< AuthToken
< AuthInfoType > >::IdType 
id () const
 Returns the database id.
Sessionsession () const
 Returns the session.
void setDirty ()
 Marks the object as modified.
ptr< AuthToken< AuthInfoType > > self () const
 Returns a dbo::ptr to this object.

Detailed Description

template<class AuthInfoType>
class Wt::Auth::Dbo::AuthToken< AuthInfoType >

A default implementation for an authentication token in Wt::Dbo.

This class is used by AuthInfo, and stores authentication tokens.

See Also
AuthInfo

Generated on Mon Oct 29 2012 for the C++ Web Toolkit (Wt) by doxygen 1.8.1.2