8#include <Cutelyst/cutelyst_global.h>
9#include <Cutelyst/plugin.h>
194 void setStorage(std::unique_ptr<SessionStore> store);
212 static quint64 expires(
Context *c);
219 static void changeExpires(
Context *c, quint64 expires);
263 static bool isValid(
Context *c);
266 SessionPrivate *d_ptr;
269 Q_PRIVATE_SLOT(d_func(),
void _q_saveSession(
Context *))
The Cutelyst application.
Base class for Cutelyst Plugins.
Abstract class to create a session store.
virtual bool deleteSessionData(Context *c, const QByteArray &sid, const QString &key)=0
virtual bool deleteExpiredSessions(Context *c, quint64 expires)=0
virtual QVariant getSessionData(Context *c, const QByteArray &sid, const QString &key, const QVariant &defaultValue=QVariant())=0
virtual bool storeSessionData(Context *c, const QByteArray &sid, const QString &key, const QVariant &value)=0
Plugin providing methods for session management.
The Cutelyst namespace holds all public Cutelyst API.