Cutelyst  1.7.0
Public Member Functions | List of all members
Cutelyst::StoreMinimal Class Reference
Inheritance diagram for Cutelyst::StoreMinimal:
Inheritance graph
[legend]

Public Member Functions

 StoreMinimal (QObject *parent=nullptr)
 
void addUser (const AuthenticationUser &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 29 of file minimal.h.

Constructor & Destructor Documentation

Cutelyst::StoreMinimal::StoreMinimal ( QObject *  parent = nullptr)
explicit

Constructs a new minimal authentication store object with the given parent.

Member Function Documentation

void Cutelyst::StoreMinimal::addUser ( const AuthenticationUser user)

Appends the user to internal memory storage

virtual AuthenticationUser Cutelyst::StoreMinimal::findUser ( Context c,
const ParamsMultiMap userInfo 
)
finalvirtual
virtual QVariant Cutelyst::StoreMinimal::forSession ( Context c,
const AuthenticationUser user 
)
finalvirtual

Reimplemented from AuthenticationStore::forSession().

Reimplemented from Cutelyst::AuthenticationStore.

virtual AuthenticationUser Cutelyst::StoreMinimal::fromSession ( Context c,
const QVariant &  frozenUser 
)
finalvirtual

Reimplemented from AuthenticationStore::fromSession().

Reimplemented from Cutelyst::AuthenticationStore.