signon  8.42
SignonDaemonNS::SignonSessionCore Class Reference

Daemon side representation of authentication session. More...

#include <signonsessioncore.h>

Inheritance diagram for SignonDaemonNS::SignonSessionCore:
Collaboration diagram for SignonDaemonNS::SignonSessionCore:

Public Slots

QStringList queryAvailableMechanisms (const QStringList &wantedMechanisms)
void process (const QDBusConnection &connection, const QDBusMessage &message, const QVariantMap &sessionDataVa, const QString &mechanism, const QString &cancelKey)
void cancel (const QString &cancelKey)
void setId (quint32 id)
void credentialsSystemReady ()
- Public Slots inherited from SignonDaemonNS::SignonDisposable
static void destroyUnused ()
 Deletes all disposable object for which the inactivity time has elapsed.

Signals

void stateChanged (const QString &requestId, int state, const QString &message)

Public Member Functions

virtual ~SignonSessionCore ()
quint32 id () const
QString method () const
bool setupPlugin ()
void destroy ()
 Performs any predestruction operations and the destruction itself.
- Public Member Functions inherited from SignonDaemonNS::SignonDisposable
 SignonDisposable (int maxInactivity, QObject *parent)
 Construct an object that can be automatically destroyed after having being unused for seconds.
void keepInUse () const
 Mark the object as used.
void setAutoDestruct (bool value=true) const
 Mark the object as used.

Static Public Member Functions

static SignonSessionCoresessionCore (const quint32 id, const QString &method, SignonDaemon *parent)
static void stopAllAuthSessions ()
static QStringList loadedPluginMethods (const QString &method)
- Static Public Member Functions inherited from SignonDaemonNS::SignonDisposable
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.

Protected Member Functions

 SignonSessionCore (quint32 id, const QString &method, int timeout, SignonDaemon *parent)
void childEvent (QChildEvent *ce)
void customEvent (QEvent *event)
- Protected Member Functions inherited from SignonDaemonNS::SignonDisposable
virtual ~SignonDisposable ()

Detailed Description

Daemon side representation of authentication session.

Todo:
description.

Definition at line 50 of file signonsessioncore.h.

Constructor & Destructor Documentation

SignonSessionCore::~SignonSessionCore ( )
virtual

Definition at line 97 of file signonsessioncore.cpp.

SignonSessionCore::SignonSessionCore ( quint32  id,
const QString &  method,
int  timeout,
SignonDaemon parent 
)
protected

Member Function Documentation

void SignonSessionCore::childEvent ( QChildEvent *  ce)
protected
void SignonSessionCore::credentialsSystemReady ( )
slot

Definition at line 932 of file signonsessioncore.cpp.

Referenced by SignonSessionCore().

void SignonSessionCore::customEvent ( QEvent *  event)
protected
void SignonSessionCore::destroy ( )
virtual

Performs any predestruction operations and the destruction itself.

Reimplement this for smoother control.

Reimplemented from SignonDaemonNS::SignonDisposable.

Definition at line 915 of file signonsessioncore.cpp.

References SignonDaemonNS::PluginProxy::isProcessing(), SignonDaemonNS::SignonDisposable::keepInUse(), sessionsOfNonStoredCredentials, and sessionsOfStoredCredentials.

quint32 SignonSessionCore::id ( ) const

Definition at line 140 of file signonsessioncore.cpp.

References SignonDaemonNS::SignonDisposable::keepInUse(), and TRACE.

Referenced by setId().

QStringList SignonSessionCore::loadedPluginMethods ( const QString &  method)
static
QString SignonSessionCore::method ( ) const

Definition at line 147 of file signonsessioncore.cpp.

References SignonDaemonNS::SignonDisposable::keepInUse(), and TRACE.

Referenced by loadedPluginMethods().

void SignonSessionCore::process ( const QDBusConnection &  connection,
const QDBusMessage &  message,
const QVariantMap &  sessionDataVa,
const QString &  mechanism,
const QString &  cancelKey 
)
slot
QStringList SignonSessionCore::queryAvailableMechanisms ( const QStringList &  wantedMechanisms)
slot
SignonSessionCore * SignonSessionCore::sessionCore ( const quint32  id,
const QString &  method,
SignonDaemon parent 
)
static
void SignonSessionCore::setId ( quint32  id)
slot
bool SignonSessionCore::setupPlugin ( )
void SignonDaemonNS::SignonSessionCore::stateChanged ( const QString &  requestId,
int  state,
const QString &  message 
)
signal

Referenced by setupPlugin().

void SignonSessionCore::stopAllAuthSessions ( )
static

The documentation for this class was generated from the following files: