My Project
|
Data container to hold values for authentication session. More...
#include <SignOn/SessionData>
Public Member Functions | |
SessionData (const QVariantMap &data=QVariantMap()) | |
Constructor. More... | |
SessionData (const SessionData &other) | |
Copy constructor. More... | |
SessionData & | operator= (const SessionData &other) |
Assignment operator. More... | |
SessionData & | operator+= (const SessionData &other) |
Addition operator. More... | |
const QStringList | propertyNames () const |
Access the list of runtime existing properties of the SessionData. More... | |
const QVariant | getProperty (const QString &propertyName) const |
Access the list of runtime existing properties of the SessionData. More... | |
QStringList | getAccessControlTokens () const |
Gets the access control tokens that the requesting application has. More... | |
template<class T > | |
T | data () const |
Creates an instance of type T, which must be derived from SessionData. More... | |
QVariantMap | toMap () const |
Gets the QVariantMap of session parameters. More... | |
Protected Attributes | |
QVariantMap | m_data |
Declares the property Secret setter and getter. More... | |
Data container to hold values for authentication session.
Inherit this class if you want to extend the property range.
Definition at line 91 of file sessiondata.h.
|
inline |
Constructor.
Creates a SessionData with data 'data'.
data | The data to be contained by the SessionData |
Definition at line 100 of file sessiondata.h.
|
inline |
Copy constructor.
other | SessionData object to be copied to this instance |
Definition at line 106 of file sessiondata.h.
References m_data.
|
inline |
Creates an instance of type T, which must be derived from SessionData.
The instance will contain the data of this instance.
Definition at line 161 of file sessiondata.h.
|
inline |
Gets the access control tokens that the requesting application has.
Definition at line 152 of file sessiondata.h.
|
inline |
Access the list of runtime existing properties of the SessionData.
propertyName | Name of the property to be accessed |
Definition at line 144 of file sessiondata.h.
|
inline |
Addition operator.
other | SessionData object to be added to this instance. |
Definition at line 123 of file sessiondata.h.
References m_data.
|
inline |
Assignment operator.
other | SessionData object to be assigned to this instance |
Definition at line 113 of file sessiondata.h.
References m_data.
|
inline |
Access the list of runtime existing properties of the SessionData.
Definition at line 134 of file sessiondata.h.
|
inline |
Gets the QVariantMap of session parameters.
Definition at line 171 of file sessiondata.h.
|
protected |
Declares the property Secret setter and getter.
setSecret(const QString secret); const QString Secret() const;
Declares the property UserName setter and getter.
Declares the property Realm setter and getter. Realm that is used for authentication.
Declares the property NetworkProxy setter and getter. Network proxy to be used instead of system default.
Declares the property UiPolicy setter and getter. Use UiPolicy to define how plugin interacts with the user.
Declares the property Caption setter and getter. Caption is to tell user which application/credentials/provider is requesting signon-ui.
Declares the property NetworkTimeout setter and getter. Sets the timeout for network related operations in milliseconds. To be used when a remote service does not reply in a reasonable amount of time.
Declares the property WindowId setter and getter. This is to be used for setting signon-ui dialog application modal.
Declares the property RenewToken setter and getter. This is used by a signon plugin to check whether the access token has to be renewed. When this property is set, the signon plugin will remove the old set of access tokens and get a new set.
Definition at line 238 of file sessiondata.h.
Referenced by operator+=(), operator=(), and SessionData().