|
signon
8.58
|
Daemon core. More...
#include <signondaemon.h>


Public Slots | |
| uchar | backupStarts () |
| uchar | backupFinished () |
| uchar | restoreStarts () |
| uchar | restoreFinished () |
Public Member Functions | |
| virtual | ~SignonDaemon () |
| Q_INVOKABLE void | init () |
| int | identityTimeout () const |
| Returns the number of seconds of inactivity after which identity objects might be automatically deleted. More... | |
| int | authSessionTimeout () const |
| QObject * | registerNewIdentity () |
| QObject * | getIdentity (const quint32 id, QVariantMap &identityData) |
| QObject * | getAuthSession (const quint32 id, const QString type, pid_t ownerPid) |
| QStringList | queryMethods () |
| QStringList | queryMechanisms (const QString &method) |
| QList< QVariantMap > | queryIdentities (const QVariantMap &filter) |
| bool | clear () |
| QString | lastErrorName () const |
| QString | lastErrorMessage () const |
| bool | lastErrorIsValid () const |
| Q_INVOKABLE void | handleUnixSignal () |
Static Public Member Functions | |
| static SignonDaemon * | instance () |
| static void | signalHandler (int signal) |
Friends | |
| class | SignonSessionCore |
| class | SignonDaemonAdaptor |
|
virtual |
Definition at line 265 of file signondaemon.cpp.
| int SignonDaemonNS::SignonDaemon::authSessionTimeout | ( | ) | const |
Definition at line 608 of file signondaemon.cpp.
Referenced by SignonDaemonNS::SignonSessionCore::sessionCore().
|
slot |
Definition at line 973 of file signondaemon.cpp.
References TRACE.
|
slot |
Definition at line 926 of file signondaemon.cpp.
References SignonDaemonNS::CAMConfiguration::m_dbName, and TRACE.
| bool SignonDaemonNS::SignonDaemon::clear | ( | ) |
Definition at line 740 of file signondaemon.cpp.
References SignonDaemonNS::CredentialsDB::clear(), SignonDaemonNS::CredentialsDB::lastError(), SIGNON_RETURN_IF_CAM_UNAVAILABLE, and TRACE.
Referenced by SignonDaemonNS::SignonDaemonAdaptor::clear().
| QObject * SignonDaemonNS::SignonDaemon::getAuthSession | ( | const quint32 | id, |
| const QString | type, | ||
| pid_t | ownerPid | ||
| ) |
Definition at line 762 of file signondaemon.cpp.
Referenced by SignonDaemonNS::SignonDaemonAdaptor::getAuthSessionObjectPath().
| QObject * SignonDaemonNS::SignonDaemon::getIdentity | ( | const quint32 | id, |
| QVariantMap & | identityData | ||
| ) |
Definition at line 615 of file signondaemon.cpp.
References SignonDaemonNS::SignonIdentity::destroy(), SignonDaemonNS::SignonIdentityInfo::isNew(), SignonDaemonNS::SignonDisposable::keepInUse(), SignonDaemonNS::SignonIdentity::queryInfo(), SIGNON_RETURN_IF_CAM_UNAVAILABLE, SignonDaemonNS::SignonIdentityInfo::toMap(), and TRACE.
Referenced by SignonDaemonNS::SignonDaemonAdaptor::getIdentity().
| void SignonDaemonNS::SignonDaemon::handleUnixSignal | ( | ) |
Definition at line 319 of file signondaemon.cpp.
References TRACE.
| int SignonDaemonNS::SignonDaemon::identityTimeout | ( | ) | const |
Returns the number of seconds of inactivity after which identity objects might be automatically deleted.
Definition at line 601 of file signondaemon.cpp.
Referenced by SignonDaemonNS::SignonIdentity::createIdentity().
| void SignonDaemonNS::SignonDaemon::init | ( | ) |
Definition at line 382 of file signondaemon.cpp.
|
static |
|
inline |
Definition at line 138 of file signondaemon.h.
|
inline |
Definition at line 137 of file signondaemon.h.
|
inline |
Definition at line 136 of file signondaemon.h.
| QList< QVariantMap > SignonDaemonNS::SignonDaemon::queryIdentities | ( | const QVariantMap & | filter | ) |
Definition at line 703 of file signondaemon.cpp.
References SignonDaemonNS::CredentialsDB::credentials(), SignonDaemonNS::CredentialsDB::errorOccurred(), SignonDaemonNS::CredentialsDB::lastError(), SIGNON_RETURN_IF_CAM_UNAVAILABLE, SignonDaemonNS::SignonIdentityInfo::toMap(), and TRACE.
Referenced by SignonDaemonNS::SignonDaemonAdaptor::queryIdentities().
| QStringList SignonDaemonNS::SignonDaemon::queryMechanisms | ( | const QString & | method | ) |
Definition at line 674 of file signondaemon.cpp.
References SignonDaemonNS::PluginProxy::mechanisms(), and TRACE.
Referenced by SignonDaemonNS::SignonDaemonAdaptor::queryMechanisms().
| QStringList SignonDaemonNS::SignonDaemon::queryMethods | ( | ) |
Definition at line 652 of file signondaemon.cpp.
Referenced by SignonDaemonNS::SignonDaemonAdaptor::queryMethods().
| QObject * SignonDaemonNS::SignonDaemon::registerNewIdentity | ( | ) |
Definition at line 586 of file signondaemon.cpp.
References TRACE.
Referenced by SignonDaemonNS::SignonDaemonAdaptor::registerNewIdentity().
|
slot |
Definition at line 998 of file signondaemon.cpp.
References SignonDaemonNS::CAMConfiguration::m_dbName, and TRACE.
|
slot |
Definition at line 992 of file signondaemon.cpp.
References TRACE.
|
static |
Definition at line 313 of file signondaemon.cpp.
Referenced by installSigHandlers().
|
friend |
Definition at line 110 of file signondaemon.h.
|
friend |
Definition at line 109 of file signondaemon.h.