5#ifndef AUTHENTICATIONREALM_H
6#define AUTHENTICATIONREALM_H
8#include <Cutelyst/Plugins/Authentication/authenticationuser.h>
9#include <Cutelyst/component.h>
10#include <Cutelyst/cutelyst_global.h>
15class AuthenticationStore;
16class AuthenticationCredential;
29 std::shared_ptr<AuthenticationCredential> credential,
30 const QString &name = QLatin1String(defaultRealm),
31 QObject *parent =
nullptr);
37 [[nodiscard]] std::shared_ptr<AuthenticationStore> store() const noexcept;
59 void removePersistedUser(
Context *c);
74 [[nodiscard]] QVariant userIsRestorable(
Context *c);
78 friend class AuthenticationPrivate;
static char * defaultRealm
default realm name
The Cutelyst Component base class.
The Cutelyst namespace holds all public Cutelyst API.
QMultiMap< QString, QString > ParamsMultiMap