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;
44 std::shared_ptr<AuthenticationCredential> credential,
52 [[nodiscard]] std::shared_ptr<AuthenticationStore> store() const noexcept;
74 void removePersistedUser(
Context *c);
93 friend class AuthenticationPrivate;
Abstract class to validate authentication credentials like user name and password.
Combines user store and credential validation into a named realm.
static char * defaultRealm
Abstract class to retrieve user data from a store.
Container for user data retrieved from an AuthenticationStore.
Main class to manage user authentication.
The Cutelyst Component base class.
The Cutelyst namespace holds all public Cutelyst API.