|
cutelyst 3.9.1
A C++ Web Framework built on top of Qt, using the simple approach of Catalyst (Perl) framework.
|
Public Member Functions | |
| AuthenticationUser () | |
| Constructs a new AuthenticationUser object. | |
| AuthenticationUser (const QVariant &id) | |
| Constructs a new AuthenticationUser object with the given id. | |
| QString | authRealm () |
| Returns the authentication realm from which this user was retrieved. | |
| QVariantMap | data () const |
| QVariant | id () const |
| void | insert (const QString &key, const QVariant &value) |
| bool | isNull () const |
| Returns true if the object is null. | |
| operator QVariant () const | |
| void | setAuthRealm (const QString &authRealm) |
| Sets the authentication realm from which this user was retrieved. | |
| void | setData (const QVariantMap &data) |
| void | setId (const QVariant &id) |
| Sets the unique user id restored from the store. | |
| QVariant | value (const QString &key, const QVariant &defaultValue=QVariant()) const |
Protected Attributes | |
| QVariantMap | m_data |
Definition at line 18 of file authenticationuser.h.
| AuthenticationUser::AuthenticationUser | ( | ) |
Definition at line 12 of file authenticationuser.cpp.
| AuthenticationUser::AuthenticationUser | ( | const QVariant & | id | ) |
Definition at line 16 of file authenticationuser.cpp.
References setId().
|
virtual |
Definition at line 21 of file authenticationuser.cpp.
| QString AuthenticationUser::authRealm | ( | ) |
Definition at line 40 of file authenticationuser.cpp.
Referenced by Cutelyst::AuthenticationRealm::findUser(), and setAuthRealm().
|
inline |
Definition at line 72 of file authenticationuser.h.
| QVariant AuthenticationUser::id | ( | ) | const |
A unique ID by which a AuthenticationUser can be retrieved from the store.
Definition at line 25 of file authenticationuser.cpp.
References QVariant::value().
Referenced by Cutelyst::StoreHtpasswd::forSession(), and Cutelyst::StoreMinimal::forSession().
Definition at line 82 of file authenticationuser.h.
| bool AuthenticationUser::isNull | ( | ) | const |
Definition at line 35 of file authenticationuser.cpp.
Referenced by Cutelyst::CredentialHttp::authenticate(), Cutelyst::CredentialPassword::authenticate(), Cutelyst::AuthenticationRealm::findUser(), and Cutelyst::AuthenticationRealm::restoreUser().
|
inline |
Definition at line 66 of file authenticationuser.h.
| void AuthenticationUser::setAuthRealm | ( | const QString & | authRealm | ) |
Definition at line 45 of file authenticationuser.cpp.
References authRealm(), and QString::insert().
Referenced by Cutelyst::AuthenticationRealm::findUser(), and Cutelyst::AuthenticationRealm::restoreUser().
|
inline |
Definition at line 77 of file authenticationuser.h.
| void AuthenticationUser::setId | ( | const QVariant & | id | ) |
Definition at line 30 of file authenticationuser.cpp.
Referenced by AuthenticationUser(), and Cutelyst::StoreHtpasswd::findUser().
|
inline |
Definition at line 87 of file authenticationuser.h.
|
protected |
Definition at line 69 of file authenticationuser.h.