signon  8.57
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

◆ ~SignonDaemon()

SignonDaemonNS::SignonDaemon::~SignonDaemon ( )
virtual

Member Function Documentation

◆ authSessionTimeout()

int SignonDaemonNS::SignonDaemon::authSessionTimeout ( ) const

◆ backupFinished

uchar SignonDaemonNS::SignonDaemon::backupFinished ( )
slot

Definition at line 975 of file signondaemon.cpp.

References TRACE.

◆ backupStarts

◆ clear()

◆ getAuthSession()

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

◆ getIdentity()

◆ handleUnixSignal()

void SignonDaemonNS::SignonDaemon::handleUnixSignal ( )

Definition at line 317 of file signondaemon.cpp.

References instance(), and TRACE.

Referenced by ~SignonDaemon().

◆ identityTimeout()

int SignonDaemonNS::SignonDaemon::identityTimeout ( ) const

Returns the number of seconds of inactivity after which identity objects might be automatically deleted.

Definition at line 603 of file signondaemon.cpp.

References SignonDaemonNS::SignonDaemonConfiguration::identityTimeout().

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

◆ init()

◆ instance()

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

Definition at line 364 of file signondaemon.cpp.

References TRACE.

Referenced by handleUnixSignal(), and main().

◆ lastErrorIsValid()

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

Definition at line 138 of file signondaemon.h.

◆ lastErrorMessage()

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

Definition at line 137 of file signondaemon.h.

◆ lastErrorName()

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

Definition at line 136 of file signondaemon.h.

◆ queryIdentities()

◆ queryMechanisms()

QStringList SignonDaemonNS::SignonDaemon::queryMechanisms ( const QString &  method)

◆ queryMethods()

QStringList SignonDaemonNS::SignonDaemon::queryMethods ( )

◆ registerNewIdentity()

QObject * SignonDaemonNS::SignonDaemon::registerNewIdentity ( )

Definition at line 588 of file signondaemon.cpp.

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

◆ restoreFinished

◆ restoreStarts

uchar SignonDaemonNS::SignonDaemon::restoreStarts ( )
slot

Definition at line 994 of file signondaemon.cpp.

References TRACE.

◆ signalHandler()

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

Definition at line 311 of file signondaemon.cpp.

Referenced by installSigHandlers().

Friends And Related Function Documentation

◆ SignonDaemonAdaptor

friend class SignonDaemonAdaptor
friend

Definition at line 110 of file signondaemon.h.

Referenced by init().

◆ SignonSessionCore

friend class SignonSessionCore
friend

Definition at line 109 of file signondaemon.h.


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