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; }
81 QString
caption()
const {
return m_caption; }
84 QStringList
realms()
const {
return m_realms; }
91 { m_accessControlList = acl; }
98 int type()
const {
return m_type; }
104 const QString &mechanism,
105 QString &allowedMechanism);
111 bool m_storePassword;
114 QStringList m_realms;
115 QStringList m_accessControlList;
116 QStringList m_ownerList;
120 bool m_isUserNameSecret;
127 #endif // SIGNONIDENTITYINFO_H