signon  8.58
SignonDaemonNS::SignonDaemon Class Reference

Daemon core. More...

#include <signondaemon.h>

Inheritance diagram for SignonDaemonNS::SignonDaemon:
Collaboration diagram for SignonDaemonNS::SignonDaemon:

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 SignonDaemoninstance ()
 
static void signalHandler (int signal)
 

Friends

class SignonSessionCore
 
class SignonDaemonAdaptor
 

Detailed Description

Daemon core.

Todo:
description.

Definition at line 105 of file signondaemon.h.

Constructor & Destructor Documentation

SignonDaemonNS::SignonDaemon::~SignonDaemon ( )
virtual

Member Function Documentation

int SignonDaemonNS::SignonDaemon::authSessionTimeout ( ) const
uchar SignonDaemonNS::SignonDaemon::backupFinished ( )
slot

Definition at line 973 of file signondaemon.cpp.

References TRACE.

QObject * SignonDaemonNS::SignonDaemon::getAuthSession ( const quint32  id,
const QString  type,
pid_t  ownerPid 
)
void SignonDaemonNS::SignonDaemon::handleUnixSignal ( )

Definition at line 319 of file signondaemon.cpp.

References instance(), and TRACE.

Referenced by ~SignonDaemon().

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.

References SignonDaemonNS::SignonDaemonConfiguration::identityTimeout().

Referenced by SignonDaemonNS::SignonIdentity::createIdentity().

SignonDaemon * SignonDaemonNS::SignonDaemon::instance ( )
static

Definition at line 366 of file signondaemon.cpp.

References TRACE.

Referenced by handleUnixSignal(), and main().

bool SignonDaemonNS::SignonDaemon::lastErrorIsValid ( ) const
inline

Definition at line 138 of file signondaemon.h.

QString SignonDaemonNS::SignonDaemon::lastErrorMessage ( ) const
inline

Definition at line 137 of file signondaemon.h.

QString SignonDaemonNS::SignonDaemon::lastErrorName ( ) const
inline

Definition at line 136 of file signondaemon.h.

QStringList SignonDaemonNS::SignonDaemon::queryMechanisms ( const QString &  method)
QStringList SignonDaemonNS::SignonDaemon::queryMethods ( )
QObject * SignonDaemonNS::SignonDaemon::registerNewIdentity ( )

Definition at line 586 of file signondaemon.cpp.

References SignonDaemonNS::SignonIdentity::createIdentity(), and TRACE.

uchar SignonDaemonNS::SignonDaemon::restoreStarts ( )
slot

Definition at line 992 of file signondaemon.cpp.

References TRACE.

void SignonDaemonNS::SignonDaemon::signalHandler ( int  signal)
static

Definition at line 313 of file signondaemon.cpp.

Referenced by installSigHandlers().

Friends And Related Function Documentation

friend class SignonDaemonAdaptor
friend

Definition at line 110 of file signondaemon.h.

Referenced by init().

friend class SignonSessionCore
friend

Definition at line 109 of file signondaemon.h.


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