|
signon
8.40
|
Daemon core. More...
#include <signondaemon.h>
Public Slots | |
| void | registerNewIdentity (QDBusObjectPath &objectPath) |
| void | getIdentity (const quint32 id, QDBusObjectPath &objectPath, QVariantMap &identityData) |
| QString | getAuthSessionObjectPath (const quint32 id, const QString type) |
| QStringList | queryMethods () |
| QStringList | queryMechanisms (const QString &method) |
| QList< QVariantMap > | queryIdentities (const QVariantMap &filter) |
| bool | clear () |
| void | onDisconnected () |
| 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. | |
| int | authSessionTimeout () const |
| Q_INVOKABLE void | handleUnixSignal () |
Static Public Member Functions | |
| static SignonDaemon * | instance () |
| static void | signalHandler (int signal) |
Friends | |
| class | SignonIdentity |
| class | SignonSessionCore |
| class | SignonDaemonAdaptor |
| SignonDaemonNS::SignonDaemon::~SignonDaemon | ( | ) | [virtual] |
Definition at line 216 of file signondaemon.cpp.
| int SignonDaemonNS::SignonDaemon::authSessionTimeout | ( | ) | const |
Definition at line 542 of file signondaemon.cpp.
Referenced by SignonDaemonNS::SignonSessionCore::sessionCore().
| uchar SignonDaemonNS::SignonDaemon::backupFinished | ( | ) | [slot] |
Definition at line 908 of file signondaemon.cpp.
References TRACE.
| uchar SignonDaemonNS::SignonDaemon::backupStarts | ( | ) | [slot] |
Definition at line 861 of file signondaemon.cpp.
References SignonDaemonNS::CAMConfiguration::m_dbName, and TRACE.
| bool SignonDaemonNS::SignonDaemon::clear | ( | ) | [slot] |
Definition at line 677 of file signondaemon.cpp.
References SignonDaemonNS::CredentialsDB::clear(), SignonDaemonNS::CredentialsDB::lastError(), SIGNON_RETURN_IF_CAM_UNAVAILABLE, and TRACE.
Referenced by SignonDaemonNS::SignonDaemonAdaptor::clear().
| QString SignonDaemonNS::SignonDaemon::getAuthSessionObjectPath | ( | const quint32 | id, |
| const QString | type | ||
| ) | [slot] |
Definition at line 697 of file signondaemon.cpp.
Referenced by SignonDaemonNS::SignonDaemonAdaptor::getAuthSessionObjectPath().
| void SignonDaemonNS::SignonDaemon::getIdentity | ( | const quint32 | id, |
| QDBusObjectPath & | objectPath, | ||
| QVariantMap & | identityData | ||
| ) | [slot] |
Definition at line 549 of file signondaemon.cpp.
References SignonDaemonNS::SignonIdentity::id(), SignonDaemonNS::internalServerErrName, SignonDaemonNS::internalServerErrStr, SignonDaemonNS::SignonIdentityInfo::isNew(), SignonDaemonNS::SignonDisposable::keepInUse(), SignonDaemonNS::SignonIdentity::queryInfo(), SIGNON_RETURN_IF_CAM_UNAVAILABLE, SignonDaemonNS::SignonIdentityInfo::toMap(), and TRACE.
Referenced by SignonDaemonNS::SignonDaemonAdaptor::getIdentity().
Definition at line 269 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 535 of file signondaemon.cpp.
Referenced by SignonDaemonNS::SignonIdentity::createIdentity().
| void SignonDaemonNS::SignonDaemon::init | ( | ) |
Definition at line 332 of file signondaemon.cpp.
References BLAME, SIGNOND_INITIALIZE_TRACE, and TRACE.
| SignonDaemon * SignonDaemonNS::SignonDaemon::instance | ( | ) | [static] |
| void SignonDaemonNS::SignonDaemon::onDisconnected | ( | ) | [slot] |
Definition at line 973 of file signondaemon.cpp.
References TRACE.
| QList< QVariantMap > SignonDaemonNS::SignonDaemon::queryIdentities | ( | const QVariantMap & | filter | ) | [slot] |
Definition at line 642 of file signondaemon.cpp.
References SignonDaemonNS::CredentialsDB::credentials(), SignonDaemonNS::CredentialsDB::errorOccurred(), SignonDaemonNS::internalServerErrName, SignonDaemonNS::internalServerErrStr, 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 | ) | [slot] |
Definition at line 615 of file signondaemon.cpp.
References SignonDaemonNS::PluginProxy::mechanisms(), and TRACE.
Referenced by SignonDaemonNS::SignonDaemonAdaptor::queryMechanisms().
| QStringList SignonDaemonNS::SignonDaemon::queryMethods | ( | ) | [slot] |
Definition at line 593 of file signondaemon.cpp.
Referenced by SignonDaemonNS::SignonDaemonAdaptor::queryMethods().
| void SignonDaemonNS::SignonDaemon::registerNewIdentity | ( | QDBusObjectPath & | objectPath | ) | [slot] |
Definition at line 515 of file signondaemon.cpp.
References SignonDaemonNS::internalServerErrName, SignonDaemonNS::internalServerErrStr, and TRACE.
Referenced by SignonDaemonNS::SignonDaemonAdaptor::registerNewIdentity().
| uchar SignonDaemonNS::SignonDaemon::restoreFinished | ( | ) | [slot] |
Definition at line 933 of file signondaemon.cpp.
References SignonDaemonNS::CAMConfiguration::m_dbName, and TRACE.
| uchar SignonDaemonNS::SignonDaemon::restoreStarts | ( | ) | [slot] |
Definition at line 927 of file signondaemon.cpp.
References TRACE.
| void SignonDaemonNS::SignonDaemon::signalHandler | ( | int | signal | ) | [static] |
Definition at line 263 of file signondaemon.cpp.
Referenced by installSigHandlers().
friend class SignonDaemonAdaptor [friend] |
Definition at line 109 of file signondaemon.h.
friend class SignonIdentity [friend] |
Definition at line 107 of file signondaemon.h.
friend class SignonSessionCore [friend] |
Definition at line 108 of file signondaemon.h.