Wt  4.2.2
Public Member Functions | List of all members
Wt::Auth::Dbo::AuthToken Class Reference

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::WDateTimeexpires () const
 Returns the token expiry date.
 
template<class Action >
void persist (Action &a)
 Wt::Dbo persist implementation.
 

Detailed Description

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 Fri Mar 20 2020 for the C++ Web Toolkit (Wt) by doxygen 1.8.17