|
signon
8.40
|
Daemon side representation of authentication session. More...
#include <signonauthsession.h>
Public Slots | |
| QStringList | queryAvailableMechanisms (const QStringList &wantedMechanisms) |
| QVariantMap | process (const QVariantMap &sessionDataVa, const QString &mechanism) |
| void | cancel () |
| void | setId (quint32 id) |
| void | objectUnref () |
Signals | |
| void | stateChanged (int state, const QString &message) |
| void | unregistered () |
Public Member Functions | |
| SignonSessionCore * | parent () const |
| quint32 | id () const |
| QString | method () const |
| void | objectRegistered () |
| pid_t | ownerPid () const |
Static Public Member Functions | |
| static QString | getAuthSessionObjectPath (const quint32 id, const QString &method, SignonDaemon *parent, bool &supportsAuthMethod, pid_t ownerPid) |
| static void | stopAllAuthSessions () |
Protected Member Functions | |
| SignonAuthSession (quint32 id, const QString &method, pid_t ownerPid) | |
| virtual | ~SignonAuthSession () |
Friends | |
| class | SignonAuthSessionAdaptor |
Daemon side representation of authentication session.
Definition at line 45 of file signonauthsession.h.
| SignonAuthSession::SignonAuthSession | ( | quint32 | id, |
| const QString & | method, | ||
| pid_t | ownerPid | ||
| ) | [protected] |
Definition at line 29 of file signonauthsession.cpp.
References TRACE.
Referenced by getAuthSessionObjectPath().
| SignonAuthSession::~SignonAuthSession | ( | ) | [protected, virtual] |
Definition at line 47 of file signonauthsession.cpp.
References TRACE, and unregistered().
| void SignonAuthSession::cancel | ( | ) | [slot] |
Definition at line 141 of file signonauthsession.cpp.
References SignonDaemonNS::SignonSessionCore::cancel(), parent(), and TRACE.
Referenced by SignonDaemonNS::SignonAuthSessionAdaptor::cancel(), and objectUnref().
| QString SignonAuthSession::getAuthSessionObjectPath | ( | const quint32 | id, |
| const QString & | method, | ||
| SignonDaemon * | parent, | ||
| bool & | supportsAuthMethod, | ||
| pid_t | ownerPid | ||
| ) | [static] |
Definition at line 59 of file signonauthsession.cpp.
References objectRegistered(), SignonDaemonNS::SignonSessionCore::sessionCore(), SignonAuthSession(), SignonAuthSessionAdaptor, stateChanged(), and TRACE.
| quint32 SignonAuthSession::id | ( | ) | const |
Definition at line 108 of file signonauthsession.cpp.
Referenced by SignonDaemonNS::AccessControlManagerHelper::isPeerAllowedToUseAuthSession(), and setId().
| QString SignonAuthSession::method | ( | ) | const |
Definition at line 113 of file signonauthsession.cpp.
Referenced by SignonDaemonNS::SignonAuthSessionAdaptor::process().
| void SignonAuthSession::objectRegistered | ( | ) |
Definition at line 178 of file signonauthsession.cpp.
Referenced by getAuthSessionObjectPath().
| void SignonAuthSession::objectUnref | ( | ) | [slot] |
Definition at line 153 of file signonauthsession.cpp.
References cancel(), and TRACE.
Referenced by SignonDaemonNS::SignonAuthSessionAdaptor::objectUnref().
| pid_t SignonAuthSession::ownerPid | ( | ) | const |
Definition at line 118 of file signonauthsession.cpp.
Referenced by SignonDaemonNS::SignonAuthSessionAdaptor::cancel(), SignonDaemonNS::SignonAuthSessionAdaptor::objectUnref(), SignonDaemonNS::SignonAuthSessionAdaptor::process(), SignonDaemonNS::SignonAuthSessionAdaptor::queryAvailableMechanisms(), and SignonDaemonNS::SignonAuthSessionAdaptor::setId().
| SignonSessionCore* SignonDaemonNS::SignonAuthSession::parent | ( | ) | const [inline] |
Definition at line 50 of file signonauthsession.h.
Referenced by cancel(), process(), queryAvailableMechanisms(), and setId().
| QVariantMap SignonAuthSession::process | ( | const QVariantMap & | sessionDataVa, |
| const QString & | mechanism | ||
| ) | [slot] |
Definition at line 129 of file signonauthsession.cpp.
References parent(), and SignonDaemonNS::SignonSessionCore::process().
Referenced by SignonDaemonNS::SignonAuthSessionAdaptor::process().
| QStringList SignonAuthSession::queryAvailableMechanisms | ( | const QStringList & | wantedMechanisms | ) | [slot] |
Definition at line 124 of file signonauthsession.cpp.
References parent(), and SignonDaemonNS::SignonSessionCore::queryAvailableMechanisms().
Referenced by SignonDaemonNS::SignonAuthSessionAdaptor::queryAvailableMechanisms().
| void SignonAuthSession::setId | ( | quint32 | id | ) | [slot] |
Definition at line 147 of file signonauthsession.cpp.
References id(), parent(), and SignonDaemonNS::SignonSessionCore::setId().
Referenced by SignonDaemonNS::SignonAuthSessionAdaptor::setId().
| void SignonDaemonNS::SignonAuthSession::stateChanged | ( | int | state, |
| const QString & | message | ||
| ) | [signal] |
Referenced by getAuthSessionObjectPath().
| void SignonAuthSession::stopAllAuthSessions | ( | ) | [static] |
Definition at line 103 of file signonauthsession.cpp.
| void SignonDaemonNS::SignonAuthSession::unregistered | ( | ) | [signal] |
Referenced by ~SignonAuthSession().
friend class SignonAuthSessionAdaptor [friend] |
Definition at line 55 of file signonauthsession.h.
Referenced by getAuthSessionObjectPath().