|
signon
8.40
|
Caches credentials or BLOB authentication data. More...
#include <signonsessioncoretools.h>
Classes | |
| class | AuthCache |
Public Types | |
| typedef quint32 | IdentityId |
| typedef QString | AuthMethod |
| typedef QList< AuthMethod > | AuthMethods |
| typedef QPair< IdentityId, AuthMethod > | CacheId |
Public Member Functions | |
| ~AuthCoreCache () | |
| AuthCache * | data (const IdentityId id) const |
| void | insert (const CacheId &id, AuthCache *cache) |
| void | clear () |
| void | authSessionDestroyed (const CacheId &id) |
Static Public Member Functions | |
| static AuthCoreCache * | instance (QObject *parent=0) |
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.
| typedef QString SignonDaemonNS::AuthCoreCache::AuthMethod |
Definition at line 104 of file signonsessioncoretools.h.
| typedef QList<AuthMethod> SignonDaemonNS::AuthCoreCache::AuthMethods |
Definition at line 105 of file signonsessioncoretools.h.
| typedef QPair<IdentityId, AuthMethod> SignonDaemonNS::AuthCoreCache::CacheId |
Definition at line 106 of file signonsessioncoretools.h.
| typedef quint32 SignonDaemonNS::AuthCoreCache::IdentityId |
Definition at line 103 of file signonsessioncoretools.h.
Definition at line 117 of file signonsessioncoretools.cpp.
References clear().
| void AuthCoreCache::authSessionDestroyed | ( | const CacheId & | id | ) |
Definition at line 168 of file signonsessioncoretools.cpp.
References data().
Referenced by SignonDaemonNS::SignonSessionCore::~SignonSessionCore().
| void AuthCoreCache::clear | ( | ) |
Definition at line 181 of file signonsessioncoretools.cpp.
Referenced by SignonDaemonNS::SignonSessionCore::customEvent(), and ~AuthCoreCache().
| 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 | ||
| ) |
Definition at line 136 of file signonsessioncoretools.cpp.
References data(), SignonDaemonNS::AuthCoreCache::AuthCache::isEmpty(), and SignonDaemonNS::mergeVariantMaps().
Referenced by SignonDaemonNS::SignonIdentity::storeCredentials().
| AuthCoreCache * AuthCoreCache::instance | ( | QObject * | parent = 0 | ) | [static] |
Definition at line 123 of file signonsessioncoretools.cpp.
Referenced by SignonDaemonNS::SignonSessionCore::customEvent(), SignonDaemonNS::SignonIdentity::storeCredentials(), and SignonDaemonNS::SignonSessionCore::~SignonSessionCore().