Cutelyst  1.7.0
Public Member Functions | List of all members
Cutelyst::StoreHtpasswd Class Reference
Inheritance diagram for Cutelyst::StoreHtpasswd:
Inheritance graph

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

Detailed Description

Definition at line 28 of file htpasswd.h.

Constructor & Destructor Documentation

Cutelyst::StoreHtpasswd::StoreHtpasswd ( const QString &  name,
QObject *  parent = nullptr 

Constructs a new htpasswd store object with the given parent to represent the file with the specified name.

Member Function Documentation

void Cutelyst::StoreHtpasswd::addUser ( const ParamsMultiMap user)

Appends the user to htpasswd storage

virtual AuthenticationUser Cutelyst::StoreHtpasswd::findUser ( Context c,
const ParamsMultiMap userInfo 
virtual QVariant Cutelyst::StoreHtpasswd::forSession ( Context c,
const AuthenticationUser user 

Reimplemented from AuthenticationStore::forSession().

Reimplemented from Cutelyst::AuthenticationStore.

virtual AuthenticationUser Cutelyst::StoreHtpasswd::fromSession ( Context c,
const QVariant &  frozenUser 

Reimplemented from AuthenticationStore::fromSession().

Reimplemented from Cutelyst::AuthenticationStore.