signon  8.41
SignonDaemonNS::AuthCoreCache Class Reference

Caches credentials or BLOB authentication data. More...

#include <signonsessioncoretools.h>

Classes

class  AuthCache

Public Types

typedef quint32 IdentityId
typedef QString AuthMethod
typedef QList< AuthMethodAuthMethods
typedef QPair< IdentityId,
AuthMethod
CacheId

Public Member Functions

 ~AuthCoreCache ()
AuthCachedata (const IdentityId id) const
void insert (const CacheId &id, AuthCache *cache)
void clear ()
void authSessionDestroyed (const CacheId &id)

Static Public Member Functions

static AuthCoreCacheinstance (QObject *parent=0)

Detailed Description

Caches credentials or BLOB authentication data.

The cache is credentials' record oriented (credentials ID as key). Once all references of authentication sessions for a specifc credentials ID are destroyed, the cache for that specific ID will be deleted.

Definition at line 98 of file signonsessioncoretools.h.

Member Typedef Documentation

Definition at line 104 of file signonsessioncoretools.h.

Definition at line 103 of file signonsessioncoretools.h.

Constructor & Destructor Documentation

AuthCoreCache::~AuthCoreCache ( )

Definition at line 117 of file signonsessioncoretools.cpp.

References clear().

Member Function Documentation

void AuthCoreCache::authSessionDestroyed ( const CacheId id)

Definition at line 168 of file signonsessioncoretools.cpp.

References data().

Referenced by SignonDaemonNS::SignonSessionCore::~SignonSessionCore().

void AuthCoreCache::clear ( )
AuthCache * AuthCoreCache::data ( const IdentityId  id) const

Definition at line 131 of file signonsessioncoretools.cpp.

Referenced by authSessionDestroyed(), and insert().

void AuthCoreCache::insert ( const CacheId id,
AuthCache cache 
)

The documentation for this class was generated from the following files: