signon
8.58
|
Daemon side representation of identity. More...
#include <signonidentity.h>
Public Slots | |
quint32 | requestCredentialsUpdate (const QString &message) |
QVariantMap | getInfo () |
bool | addReference (const QString &reference) |
bool | removeReference (const QString &reference) |
bool | verifyUser (const QVariantMap ¶ms) |
bool | verifySecret (const QString &secret) |
void | remove () |
bool | signOut () |
quint32 | store (const QVariantMap &info) |
void | queryUiSlot (QDBusPendingCallWatcher *call) |
void | verifyUiSlot (QDBusPendingCallWatcher *call) |
![]() | |
static void | destroyUnused () |
Deletes all disposable object for which the inactivity time has elapsed. More... | |
Signals | |
void | unregistered () |
void | infoUpdated (int) |
void | stored (SignonIdentity *identity) |
Public Member Functions | |
void | destroy () |
Performs any predestruction operations and the destruction itself. More... | |
quint32 | id () const |
SignonIdentityInfo | queryInfo (bool &ok, bool queryPassword=true) |
quint32 | storeCredentials (const SignonIdentityInfo &info) |
![]() | |
SignonDisposable (int maxInactivity, QObject *parent) | |
Construct an object that can be automatically destroyed after having being unused for seconds. More... | |
void | keepInUse () const |
Mark the object as used. More... | |
void | setAutoDestruct (bool value=true) const |
Mark the object as used. More... | |
Static Public Member Functions | |
static SignonIdentity * | createIdentity (quint32 id, SignonDaemon *parent) |
![]() | |
static void | invokeOnIdle (int maxInactivity, QObject *object, const char *member) |
Invoke the specified method on when there are no disposable objects for more than seconds. More... | |
Friends | |
class | PendingCallWatcherWithContext |
class | SignonIdentityAdaptor |
Additional Inherited Members | |
![]() | |
virtual | ~SignonDisposable () |
Daemon side representation of identity.
Definition at line 50 of file signonidentity.h.
|
slot |
Definition at line 172 of file signonidentity.cpp.
References SignonDaemonNS::CredentialsDB::addReference(), SignonDaemonNS::AccessControlManagerHelper::appIdOfPeer(), BLAME, SignonDaemonNS::CredentialsAccessManager::credentialsDB(), SignonDaemonNS::AccessControlManagerHelper::instance(), SignonDaemonNS::CredentialsAccessManager::instance(), SIGNON_RETURN_IF_CAM_UNAVAILABLE, and TRACE.
Referenced by id().
|
static |
Definition at line 122 of file signonidentity.cpp.
References SignonDaemonNS::SignonDaemon::identityTimeout().
Referenced by SignonDaemonNS::SignonDaemon::getIdentity(), and SignonDaemonNS::SignonDaemon::registerNewIdentity().
|
virtual |
Performs any predestruction operations and the destruction itself.
Reimplement this for smoother control.
Reimplemented from SignonDaemonNS::SignonDisposable.
Definition at line 127 of file signonidentity.cpp.
Referenced by SignonDaemonNS::SignonDaemon::getIdentity().
|
slot |
Definition at line 253 of file signonidentity.cpp.
References SignonDaemonNS::SignonIdentityInfo::isNew(), SignonDaemonNS::SignonIdentityInfo::removeSecrets(), SIGNON_RETURN_IF_CAM_UNAVAILABLE, SignonDaemonNS::SignonIdentityInfo::toMap(), and TRACE.
Referenced by id().
|
inline |
Definition at line 62 of file signonidentity.h.
References addReference(), getInfo(), infoUpdated(), queryInfo(), queryUiSlot(), removeReference(), requestCredentialsUpdate(), signOut(), store(), storeCredentials(), stored(), unregistered(), verifySecret(), verifyUiSlot(), and verifyUser().
Referenced by SignonDaemonNS::SignonDaemon::init().
|
signal |
Referenced by id().
SignonIdentityInfo SignonDaemonNS::SignonIdentity::queryInfo | ( | bool & | ok, |
bool | queryPassword = true |
||
) |
Definition at line 135 of file signonidentity.cpp.
References SignonDaemonNS::CredentialsDB::credentials(), SignonDaemonNS::CredentialsAccessManager::credentialsDB(), SignonDaemonNS::CredentialsAccessManager::instance(), SignonDaemonNS::CredentialsDB::lastError(), and SignonDaemonNS::SignonIdentityInfo::setPassword().
Referenced by SignonDaemonNS::SignonDaemon::getIdentity(), and id().
|
slot |
Definition at line 532 of file signonidentity.cpp.
References BLAME, SignonDaemonNS::CredentialsAccessManager::credentialsDB(), SignonDaemonNS::CredentialsAccessManager::instance(), TRACE, and SignonDaemonNS::CredentialsDB::updateCredentials().
Referenced by id().
|
slot |
|
slot |
Definition at line 192 of file signonidentity.cpp.
References SignonDaemonNS::AccessControlManagerHelper::appIdOfPeer(), BLAME, SignonDaemonNS::CredentialsAccessManager::credentialsDB(), SignonDaemonNS::AccessControlManagerHelper::instance(), SignonDaemonNS::CredentialsAccessManager::instance(), SignonDaemonNS::CredentialsDB::removeReference(), SIGNON_RETURN_IF_CAM_UNAVAILABLE, and TRACE.
Referenced by id().
|
slot |
Definition at line 212 of file signonidentity.cpp.
References BLAME, SignonDaemonNS::SignonIdentityInfo::caption(), SIGNON_RETURN_IF_CAM_UNAVAILABLE, SignonDaemonNS::SignonIdentityInfo::storePassword(), TRACE, and SignonDaemonNS::SignonIdentityInfo::userName().
Referenced by id().
|
slot |
Definition at line 392 of file signonidentity.cpp.
References SignonDaemonNS::CredentialsAccessManager::credentialsDB(), SignonDaemonNS::CredentialsAccessManager::instance(), SignonDaemonNS::CredentialsDB::removeData(), and TRACE.
Referenced by id().
|
slot |
Definition at line 459 of file signonidentity.cpp.
References SignonDaemonNS::AccessControlManagerHelper::appIdOfPeer(), SignonDaemonNS::AccessControlManagerHelper::instance(), and SIGNON_RETURN_IF_CAM_UNAVAILABLE.
Referenced by id().
quint32 SignonDaemonNS::SignonIdentity::storeCredentials | ( | const SignonIdentityInfo & | info | ) |
Definition at line 499 of file signonidentity.cpp.
References BLAME, SignonDaemonNS::CredentialsAccessManager::credentialsDB(), SignonDaemonNS::CredentialsDB::errorOccurred(), SignonDaemonNS::CredentialsDB::insertCredentials(), SignonDaemonNS::CredentialsAccessManager::instance(), SignonDaemonNS::SignonIdentityInfo::isNew(), TRACE, and SignonDaemonNS::CredentialsDB::updateCredentials().
Referenced by id().
|
signal |
Referenced by id().
|
signal |
Referenced by id().
|
slot |
Definition at line 330 of file signonidentity.cpp.
References SignonDaemonNS::CredentialsDB::checkPassword(), SignonDaemonNS::CredentialsAccessManager::credentialsDB(), SignonDaemonNS::CredentialsAccessManager::instance(), SIGNON_RETURN_IF_CAM_UNAVAILABLE, and TRACE.
Referenced by id().
|
slot |
Definition at line 621 of file signonidentity.cpp.
References BLAME, SignonDaemonNS::CredentialsAccessManager::credentialsDB(), SignonDaemonNS::CredentialsAccessManager::instance(), and TRACE.
Referenced by id().
|
slot |
Definition at line 296 of file signonidentity.cpp.
References BLAME, SignonDaemonNS::SignonIdentityInfo::caption(), SignonDaemonNS::SignonIdentityInfo::password(), SIGNON_RETURN_IF_CAM_UNAVAILABLE, SignonDaemonNS::SignonIdentityInfo::storePassword(), and SignonDaemonNS::SignonIdentityInfo::userName().
Referenced by id().
|
friend |
Definition at line 54 of file signonidentity.h.
|
friend |
Definition at line 55 of file signonidentity.h.