7 #include <Cutelyst/Plugins/Authentication/authentication.h>
9 #include <QtCore/QCryptographicHash>
13 class CredentialHttpPrivate;
80 void setAuthorizationRequiredMessage(
const QString &message);
85 [[nodiscard]]
QString usernameField()
const;
90 void setUsernameField(
const QString &fieldName);
95 [[nodiscard]]
QString passwordField()
const;
100 void setPasswordField(
const QString &fieldName);
105 [[nodiscard]] PasswordType passwordType()
const;
110 void setPasswordType(PasswordType type);
115 [[nodiscard]]
QString passwordPreSalt()
const;
120 void setPasswordPreSalt(
const QString &passwordPreSalt);
125 [[nodiscard]]
QString passwordPostSalt()
const;
130 void setPasswordPostSalt(
const QString &passwordPostSalt);
137 void setRequireSsl(
bool require);
150 CredentialHttpPrivate *d_ptr;
Abstract class to validate authentication credentials like user name and password.
Combines user store and credential validation into a named realm.
Container for user data retrieved from an AuthenticationStore.
Use HTTP basic authentication to authenticate a user.
The Cutelyst namespace holds all public Cutelyst API.