Wt: Wt::Auth::Dbo::AuthToken< AuthInfoType > Class Template Reference

Wt 3.3.0

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes

- Class List
- Class Hierarchy
- Class Members

Public Member Functions
Wt::Auth::Dbo::AuthToken< AuthInfoType > Class Template Reference
Authentication module (Wt::Auth)

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

`#include <Wt/Auth/Dbo/AuthInfo>`

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

List of all members.

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

## 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

All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator