5 #ifndef AUTHENTICATIONREALM_H
6 #define AUTHENTICATIONREALM_H
8 #include <Cutelyst/Plugins/Authentication/authenticationuser.h>
9 #include <Cutelyst/component.h>
14 class AuthenticationStore;
15 class AuthenticationCredential;
43 std::shared_ptr<AuthenticationCredential> credential,
51 [[nodiscard]] std::shared_ptr<AuthenticationStore> store() const noexcept;
73 void removePersistedUser(
Context *c);
92 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.