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

Public Member Functions | |
| 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 |
| 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 13 of file authenticationstore.h.
|
explicit |
Constructs a new authentication store object with the given parent.
Definition at line 11 of file authenticationstore.cpp.
|
virtual |
Definition at line 16 of file authenticationstore.cpp.
|
virtual |
Reimplement this if your store supports automatic user creation
Definition at line 25 of file authenticationstore.cpp.
Referenced by Cutelyst::AuthenticationRealm::findUser().
|
virtual |
Reimplement this if your store supports automatic user update
Definition at line 38 of file authenticationstore.cpp.
Referenced by Cutelyst::AuthenticationRealm::findUser().
|
virtual |
Reimplement this if your store supports automatic user creation
Definition at line 20 of file authenticationstore.cpp.
Referenced by Cutelyst::AuthenticationRealm::findUser().
|
virtual |
Reimplement this if your store supports automatic user update
Definition at line 33 of file authenticationstore.cpp.
Referenced by Cutelyst::AuthenticationRealm::findUser().
|
pure virtual |
Retrieve the user that matches the user info
Implemented in Cutelyst::StoreHtpasswd, and Cutelyst::StoreMinimal.
Referenced by Cutelyst::AuthenticationRealm::findUser().
|
virtual |
Reimplement this so that you return a serializable value that can be used to identify the user. The default implementation just returns the user.
Reimplemented in Cutelyst::StoreHtpasswd, and Cutelyst::StoreMinimal.
Definition at line 46 of file authenticationstore.cpp.
Referenced by Cutelyst::AuthenticationRealm::persistUser().
|
virtual |
Reimplement this so that you return a User that was stored in the session.
The default implementation just returns the user.
Reimplemented in Cutelyst::StoreHtpasswd, and Cutelyst::StoreMinimal.
Definition at line 52 of file authenticationstore.cpp.
Referenced by Cutelyst::AuthenticationRealm::restoreUser().