signon  8.42
SignonDaemonNS::SignonIdentity Class Reference

Daemon side representation of identity. More...

#include <signonidentity.h>

Inheritance diagram for SignonDaemonNS::SignonIdentity:
Collaboration diagram for SignonDaemonNS::SignonIdentity:

Public Slots

quint32 requestCredentialsUpdate (const QString &message)
QVariantMap getInfo ()
bool addReference (const QString &reference)
bool removeReference (const QString &reference)
bool verifyUser (const QVariantMap &params)
bool verifySecret (const QString &secret)
void remove ()
bool signOut ()
quint32 store (const QVariantMap &info)
void queryUiSlot (QDBusPendingCallWatcher *call)
void verifyUiSlot (QDBusPendingCallWatcher *call)
- Public Slots inherited from SignonDaemonNS::SignonDisposable
static void destroyUnused ()
 Deletes all disposable object for which the inactivity time has elapsed.

Signals

void unregistered ()
void infoUpdated (int)

Public Member Functions

void destroy ()
 Performs any predestruction operations and the destruction itself.
quint32 id () const
SignonIdentityInfo queryInfo (bool &ok, bool queryPassword=true)
quint32 storeCredentials (const SignonIdentityInfo &info)
- 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 SignonIdentitycreateIdentity (quint32 id, SignonDaemon *parent)
- 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.

Friends

class SignonIdentityAdaptor

Additional Inherited Members

- Protected Member Functions inherited from SignonDaemonNS::SignonDisposable
virtual ~SignonDisposable ()

Detailed Description

Daemon side representation of identity.

Todo:
description.

Definition at line 48 of file signonidentity.h.

Member Function Documentation

SignonIdentity * SignonDaemonNS::SignonIdentity::createIdentity ( quint32  id,
SignonDaemon parent 
)
static

Definition at line 119 of file signonidentity.cpp.

References SignonDaemonNS::SignonDaemon::identityTimeout(), and TRACE.

void SignonDaemonNS::SignonIdentity::destroy ( )
virtual

Performs any predestruction operations and the destruction itself.

Reimplement this for smoother control.

Reimplemented from SignonDaemonNS::SignonDisposable.

Definition at line 133 of file signonidentity.cpp.

References unregistered().

void SignonDaemonNS::SignonIdentity::infoUpdated ( int  )
signal

Referenced by remove(), signOut(), and storeCredentials().

void SignonDaemonNS::SignonIdentity::unregistered ( )
signal

Referenced by destroy().

Friends And Related Function Documentation

friend class SignonIdentityAdaptor
friend

Definition at line 52 of file signonidentity.h.


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