23 #ifndef SIGNONIDENTITYINFO_H
24 #define SIGNONIDENTITYINFO_H
27 #include <QStringList>
30 #include "signond/signoncommon.h"
32 namespace SignonDaemonNS {
53 const QStringList &
realms = QStringList(),
55 const QStringList &
ownerList = QStringList(),
61 const QVariantMap
toMap()
const;
66 void setNew() { m_id = SIGNOND_NEW_IDENTITY; }
67 bool isNew()
const {
return m_id == SIGNOND_NEW_IDENTITY; }
69 quint32
id()
const {
return m_id; }
72 QString
userName()
const {
return m_userName; }
77 QString
password()
const {
return m_password; }
84 QString
caption()
const {
return m_caption; }
87 QStringList
realms()
const {
return m_realms; }
94 { m_accessControlList = acl; }
101 int type()
const {
return m_type; }
107 const QString &mechanism,
108 QString &allowedMechanism);
114 bool m_storePassword;
117 QStringList m_realms;
118 QStringList m_accessControlList;
119 QStringList m_ownerList;
123 bool m_isUserNameSecret;
130 #endif // SIGNONIDENTITYINFO_H