5 #include "authenticationuser.h"
27 return m_data.value(QStringLiteral(
"id"));
32 m_data.insert(QStringLiteral(
"id"),
id);
37 return m_data.isEmpty();
42 return m_data.value(QStringLiteral(
"authRealm")).toString();
47 m_data.insert(QStringLiteral(
"authRealm"),
authRealm);
66 const QVariantMap map = user.
data();
68 dbg.
nospace() <<
"AuthenticationUser(";
69 for (
auto it = map.constBegin(); it != map.constEnd(); ++it) {
70 dbg <<
'(' << it.key() <<
", " << it.value() <<
')';
77 #include "moc_authenticationuser.cpp"
Container for user data retrieved from an AuthenticationStore.
void setData(const QVariantMap &data)
void setAuthRealm(const QString &authRealm)
void setId(const QVariant &id)
virtual ~AuthenticationUser()
The Cutelyst namespace holds all public Cutelyst API.
bool autoInsertSpaces() const const
void setAutoInsertSpaces(bool b)