Wt  4.10.4
Public Member Functions | List of all members
Wt::Auth::Dbo::AuthIdentity< AuthInfoType > Class Template Reference

A default implementation for a authentication identity in Wt::Dbo. More...

#include <Wt/Auth/Dbo/AuthInfo.h>

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

Public Member Functions

 AuthIdentity ()
 Default constructor.
 
 AuthIdentity (const std::string &provider, const WString &identity)
 Constructor.
 
Wt::Dbo::ptr< AuthInfoType > authInfo () const
 Returns the identity owner.
 
template<class Action >
void persist (Action &a)
 Wt::Dbo persist implementation.
 
- Public Member Functions inherited from Wt::Dbo::Dbo< AuthIdentity< AuthInfoType > >
 Dbo ()
 Constructor.
 
 Dbo (const Dbo< AuthIdentity< AuthInfoType > > &other)
 Copy constructor.
 
dbo_traits< AuthIdentity< AuthInfoType > >::IdType id () const
 Returns the database id. More...
 
Sessionsession () const
 Returns the session. More...
 
void setDirty ()
 Marks the object as modified. More...
 
bool isDirty () const
 Returns whether this object is dirty. More...
 
ptr< AuthIdentity< AuthInfoType > > self () const
 Returns a dbo::ptr to this object. More...
 

Detailed Description

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

A default implementation for a authentication identity in Wt::Dbo.

This class is used by AuthInfo, and stores identities.

See also
AuthInfo