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

Signals

void unregistered ()
 
void infoUpdated (int)
 
void stored (SignonIdentity *identity)
 

Public Member Functions

void destroy ()
 Performs any predestruction operations and the destruction itself. More...
 
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. More...
 
void keepInUse () const
 Mark the object as used. More...
 
void setAutoDestruct (bool value=true) const
 Mark the object as used. More...
 

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. More...
 

Friends

class PendingCallWatcherWithContext
 
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 50 of file signonidentity.h.

Member Function Documentation

◆ addReference

◆ createIdentity()

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

◆ destroy()

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 127 of file signonidentity.cpp.

Referenced by SignonDaemonNS::SignonDaemon::getIdentity().

◆ getInfo

QVariantMap SignonDaemonNS::SignonIdentity::getInfo ( )
slot

◆ id()

◆ infoUpdated

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

Referenced by id().

◆ queryInfo()

◆ queryUiSlot

void SignonDaemonNS::SignonIdentity::queryUiSlot ( QDBusPendingCallWatcher *  call)
slot

◆ remove

◆ removeReference

◆ requestCredentialsUpdate

quint32 SignonDaemonNS::SignonIdentity::requestCredentialsUpdate ( const QString &  message)
slot

◆ signOut

bool SignonDaemonNS::SignonIdentity::signOut ( )
slot

◆ store

quint32 SignonDaemonNS::SignonIdentity::store ( const QVariantMap &  info)
slot

◆ storeCredentials()

◆ stored

void SignonDaemonNS::SignonIdentity::stored ( SignonIdentity identity)
signal

Referenced by id().

◆ unregistered

void SignonDaemonNS::SignonIdentity::unregistered ( )
signal

Referenced by id().

◆ verifySecret

bool SignonDaemonNS::SignonIdentity::verifySecret ( const QString &  secret)
slot

◆ verifyUiSlot

void SignonDaemonNS::SignonIdentity::verifyUiSlot ( QDBusPendingCallWatcher *  call)
slot

◆ verifyUser

Friends And Related Function Documentation

◆ PendingCallWatcherWithContext

friend class PendingCallWatcherWithContext
friend

Definition at line 54 of file signonidentity.h.

◆ SignonIdentityAdaptor

friend class SignonIdentityAdaptor
friend

Definition at line 55 of file signonidentity.h.


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