7#include <Cutelyst/Plugins/Authentication/authentication.h>
8#include <Cutelyst/cutelyst_global.h>
10#include <QtCore/QCryptographicHash>
14class CredentialHttpPrivate;
45 void setType(CredentialHttp::AuthType type);
52 void setAuthorizationRequiredMessage(
const QString &message);
57 [[nodiscard]] QString usernameField()
const;
62 void setUsernameField(
const QString &fieldName);
67 [[nodiscard]] QString passwordField()
const;
72 void setPasswordField(
const QString &fieldName);
77 [[nodiscard]] PasswordType passwordType()
const;
82 void setPasswordType(PasswordType type);
87 [[nodiscard]] QString passwordPreSalt()
const;
92 void setPasswordPreSalt(
const QString &passwordPreSalt);
97 [[nodiscard]] QString passwordPostSalt()
const;
102 void setPasswordPostSalt(
const QString &passwordPostSalt);
109 void setRequireSsl(
bool require);
115 CredentialHttpPrivate *d_ptr;
The Cutelyst namespace holds all public Cutelyst API.
QMultiMap< QString, QString > ParamsMultiMap