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);
112 void setId(
const quint32
id);
134 void setSecret(
const QString &secret,
const bool storeSecret =
true);
141 QString secret()
const;
147 bool isStoringSecret()
const;
153 void setStoreSecret(
const bool storeSecret);
161 void setUserName(
const QString &userName);
167 const QString userName()
const;
173 void setCaption(
const QString &caption);
179 const QString caption()
const;
187 void setRealms(
const QStringList &realms);
195 QStringList realms()
const;
203 void setOwner(
const QString &ownerToken);
214 QString owner()
const;
223 void setAccessControlList(
const QStringList &accessControlList);
234 QStringList accessControlList()
const;
265 void setType(CredentialsType type);
271 CredentialsType type()
const;
277 QList<MethodName> methods()
const;
295 void setRefCount(qint32 refCount);
301 qint32 refCount()
const;
304 class IdentityInfoImpl *impl;
QStringList MechanismsList
Defines a string list as a list of mechanisms.
QString MethodName
Defines a string as an authentication method.
CredentialsType
Values used to describe the type of the identity.
Contains identity information.