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(),
60 const QVariantMap
toMap()
const;
65 void setNew() { m_id = SIGNOND_NEW_IDENTITY; }
66 bool isNew()
const {
return m_id == SIGNOND_NEW_IDENTITY; }
68 quint32
id()
const {
return m_id; }
71 QString
userName()
const {
return m_userName; }
76 QString
password()
const {
return m_password; }
83 QString
caption()
const {
return m_caption; }
86 QStringList
realms()
const {
return m_realms; }
93 { m_accessControlList = acl; }
100 int type()
const {
return m_type; }
106 const QString &mechanism,
107 QString &allowedMechanism);
113 bool m_storePassword;
116 QStringList m_realms;
117 QStringList m_accessControlList;
118 QStringList m_ownerList;
122 bool m_isUserNameSecret;
129 #endif // SIGNONIDENTITYINFO_H