28 #ifndef IDENTITY_INFO_H
29 #define IDENTITY_INFO_H
32 #include <QStringList>
34 #include "libsignoncommon.h"
35 #include "securitycontext.h"
66 friend class AuthServiceImpl;
67 friend class IdentityImpl;
105 IdentityInfo(
const QString &caption,
const QString &userName,
106 const QMap<MethodName,MechanismsList> &methods);
119 void setId(
const quint32
id);
141 void setSecret(
const QString &secret,
const bool storeSecret =
true);
148 QString secret()
const;
154 bool isStoringSecret()
const;
160 void setStoreSecret(
const bool storeSecret);
168 void setUserName(
const QString &userName);
174 const QString userName()
const;
180 void setCaption(
const QString &caption);
186 const QString caption()
const;
194 void setRealms(
const QStringList &realms);
202 QStringList realms()
const;
210 void setOwner(
const QString &ownerToken);
221 QString owner()
const;
230 void setAccessControlList(
const QStringList &accessControlList);
250 QStringList accessControlList()
const;
292 void setType(CredentialsType type);
298 CredentialsType type()
const;
304 QList<MethodName> methods()
const;
322 void setRefCount(qint32 refCount);
328 qint32 refCount()
const;
331 class IdentityInfoImpl *impl;
Contains identity information.
CredentialsType
Values used to describe the type of the identity.
QString MethodName
Defines a string as an authentication method.
QStringList MechanismsList
Defines a string list as a list of mechanisms.
QList< SecurityContext > SecurityContextList
Defines a list of security contexts.