|
Cutelyst
2.12.0
|

Public Member Functions | |
| StoreHtpasswd (const QString &name, QObject *parent=nullptr) | |
| void | addUser (const ParamsMultiMap &user) |
| virtual AuthenticationUser | findUser (Context *c, const ParamsMultiMap &userInfo) final |
| virtual QVariant | forSession (Context *c, const AuthenticationUser &user) final |
| virtual AuthenticationUser | fromSession (Context *c, const QVariant &frozenUser) final |
Public Member Functions inherited from Cutelyst::AuthenticationStore | |
| AuthenticationStore (QObject *parent=nullptr) | |
| 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 |
Definition at line 26 of file htpasswd.h.
|
explicit |
Constructs a new htpasswd store object with the given parent to represent the file with the specified name.
Definition at line 28 of file htpasswd.cpp.
| void StoreHtpasswd::addUser | ( | const ParamsMultiMap & | user | ) |
Appends the user to htpasswd storage
Definition at line 39 of file htpasswd.cpp.
References QMap::value().
|
finalvirtual |
Reimplemented from AuthenticationStore::findUser().
Implements Cutelyst::AuthenticationStore.
Definition at line 80 of file htpasswd.cpp.
References Cutelyst::AuthenticationUser::setId(), and QMap::value().
Referenced by fromSession().
|
finalvirtual |
Reimplemented from AuthenticationStore::forSession().
Reimplemented from Cutelyst::AuthenticationStore.
Definition at line 102 of file htpasswd.cpp.
References Cutelyst::AuthenticationUser::id().
|
finalvirtual |
Reimplemented from AuthenticationStore::fromSession().
Reimplemented from Cutelyst::AuthenticationStore.
Definition at line 107 of file htpasswd.cpp.
References findUser().
1.8.15