28 #ifndef IDENTITY_INFO_H
29 #define IDENTITY_INFO_H
31 #include <QStringList>
34 #include "libsignoncommon.h"
59 friend class AuthServiceImpl;
60 friend class IdentityImpl;
98 IdentityInfo(
const QString &caption,
const QString &userName,
99 const QMap<MethodName,MechanismsList> &methods);
126 void setSecret(
const QString &secret,
const bool storeSecret =
true);
132 bool isStoringSecret()
const;
138 void setStoreSecret(
const bool storeSecret);
146 void setUserName(
const QString &userName);
152 const QString userName()
const;
158 void setCaption(
const QString &caption);
164 const QString caption()
const;
172 void setRealms(
const QStringList &realms);
180 QStringList realms()
const;
188 void setOwner(
const QString &ownerToken);
199 QString owner()
const;
208 void setAccessControlList(
const QStringList &accessControlList);
219 QStringList accessControlList()
const;
250 void setType(CredentialsType type);
256 CredentialsType type()
const;
262 QList<MethodName> methods()
const;
280 void setRefCount(qint32 refCount);
286 qint32 refCount()
const;
289 void setId(
const quint32
id);
290 const QString secret()
const;
293 class IdentityInfoImpl *impl;