signon
8.58
|
Caches credentials or BLOB authentication data. More...
#include <credentialsdb_p.h>
Classes | |
class | AuthCache |
Public Member Functions | |
SecretsCache () | |
~SecretsCache () | |
bool | lookupCredentials (quint32 id, QString &username, QString &password) const |
QVariantMap | lookupData (quint32 id, quint32 method) const |
void | updateCredentials (quint32 id, const QString &username, const QString &password, bool storePassword) |
void | updateData (quint32 id, quint32 method, const QVariantMap &data) |
void | storeToDB (SignOn::AbstractSecretsStorage *secretsStorage) const |
void | clear () |
Friends | |
class | ::TestDatabase |
Caches credentials or BLOB authentication data.
Definition at line 45 of file credentialsdb_p.h.
|
inline |
Definition at line 60 of file credentialsdb_p.h.
|
inline |
Definition at line 61 of file credentialsdb_p.h.
References clear(), lookupCredentials(), lookupData(), storeToDB(), updateCredentials(), and updateData().
void SignonDaemonNS::SecretsCache::clear | ( | ) |
Definition at line 120 of file credentialsdb.cpp.
Referenced by SignonDaemonNS::MetaDataDB::MetaDataDB(), SignonDaemonNS::CredentialsDB::openSecretsDB(), and ~SecretsCache().
bool SignonDaemonNS::SecretsCache::lookupCredentials | ( | quint32 | id, |
QString & | username, | ||
QString & | password | ||
) | const |
Definition at line 45 of file credentialsdb.cpp.
Referenced by SignonDaemonNS::CredentialsDB::credentials(), and ~SecretsCache().
QVariantMap SignonDaemonNS::SecretsCache::lookupData | ( | quint32 | id, |
quint32 | method | ||
) | const |
Definition at line 59 of file credentialsdb.cpp.
Referenced by SignonDaemonNS::CredentialsDB::loadData(), and ~SecretsCache().
void SignonDaemonNS::SecretsCache::storeToDB | ( | SignOn::AbstractSecretsStorage * | secretsStorage | ) | const |
Definition at line 87 of file credentialsdb.cpp.
References TRACE.
Referenced by SignonDaemonNS::CredentialsDB::openSecretsDB(), and ~SecretsCache().
void SignonDaemonNS::SecretsCache::updateCredentials | ( | quint32 | id, |
const QString & | username, | ||
const QString & | password, | ||
bool | storePassword | ||
) |
Definition at line 64 of file credentialsdb.cpp.
Referenced by SignonDaemonNS::MetaDataDB::MetaDataDB(), SignonDaemonNS::CredentialsDB::updateCredentials(), and ~SecretsCache().
void SignonDaemonNS::SecretsCache::updateData | ( | quint32 | id, |
quint32 | method, | ||
const QVariantMap & | data | ||
) |
Definition at line 77 of file credentialsdb.cpp.
Referenced by SignonDaemonNS::CredentialsDB::storeData(), and ~SecretsCache().
|
friend |
Definition at line 47 of file credentialsdb_p.h.