5#include "authenticationuser.h"
21AuthenticationUser::~AuthenticationUser()
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();
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"
QString authRealm()
Returns the authentication realm from which this user was retrieved.
AuthenticationUser()
Constructs a new AuthenticationUser object.
void setAuthRealm(const QString &authRealm)
Sets the authentication realm from which this user was retrieved.
bool isNull() const
Returns true if the object is null.
void setId(const QVariant &id)
Sets the unique user id restored from the store.
The Cutelyst namespace holds all public Cutelyst API.
bool autoInsertSpaces() const const
void setAutoInsertSpaces(bool b)
QString & insert(int position, QChar ch)