|
cutelyst 4.0.0
A C++ Web Framework built on top of Qt, using the simple approach of Catalyst (Perl) framework.
|

Public Member Functions | |
| StoreHtpasswd (const QString &name) | |
| void | addUser (const ParamsMultiMap &user) |
| AuthenticationUser | findUser (Context *c, const ParamsMultiMap &userInfo) override final |
| QVariant | forSession (Context *c, const AuthenticationUser &user) override final |
| AuthenticationUser | fromSession (Context *c, const QVariant &frozenUser) override final |
Public Member Functions inherited from Cutelyst::AuthenticationStore | |
| AuthenticationStore () | |
| virtual AuthenticationUser | autoCreateUser (Context *c, const ParamsMultiMap &userinfo) const |
| virtual AuthenticationUser | autoUpdateUser (Context *c, const ParamsMultiMap &userinfo) const |
| virtual bool | canAutoCreateUser () const |
| virtual bool | canAutoUpdateUser () const |
| virtual AuthenticationUser | findUser (Context *c, const ParamsMultiMap &userinfo)=0 |
| virtual QVariant | forSession (Context *c, const AuthenticationUser &user) |
| virtual AuthenticationUser | fromSession (Context *c, const QVariant &frozenUser) |
Definition at line 12 of file htpasswd.h.
| StoreHtpasswd::StoreHtpasswd | ( | const QString & | name | ) |
Constructs a new htpasswd store object with the given parent to represent the file with the specified name.
Definition at line 15 of file htpasswd.cpp.
|
overridevirtual |
Definition at line 20 of file htpasswd.cpp.
| void StoreHtpasswd::addUser | ( | const ParamsMultiMap & | user | ) |
Appends the user to htpasswd storage
Definition at line 24 of file htpasswd.cpp.
|
finaloverridevirtual |
Reimplemented from AuthenticationStore::findUser().
Implements Cutelyst::AuthenticationStore.
Definition at line 68 of file htpasswd.cpp.
References Cutelyst::AuthenticationUser::setId().
Referenced by fromSession().
|
finaloverridevirtual |
Reimplemented from AuthenticationStore::forSession().
Reimplemented from Cutelyst::AuthenticationStore.
Definition at line 93 of file htpasswd.cpp.
References Cutelyst::AuthenticationUser::id().
|
finaloverridevirtual |
Reimplemented from AuthenticationStore::fromSession().
Reimplemented from Cutelyst::AuthenticationStore.
Definition at line 99 of file htpasswd.cpp.
References findUser().