Wt  4.15.0
Loading...
Searching...
No Matches
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_traits< AuthIdentity< 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< AuthIdentity< AuthInfoType > > self () const
 Returns a dbo::ptr to this object.

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