5 #ifndef CREDENTIALHTTP_H
6 #define CREDENTIALHTTP_H
8 #include <QtCore/QCryptographicHash>
10 #include <Cutelyst/cutelyst_global.h>
11 #include <Cutelyst/Plugins/Authentication/authentication.h>
15 class CredentialHttpPrivate;
46 void setType(CredentialHttp::AuthType type);
53 void setAuthorizationRequiredMessage(
const QString &message);
58 QString usernameField()
const;
63 void setUsernameField(
const QString &fieldName);
68 QString passwordField()
const;
73 void setPasswordField(
const QString &fieldName);
78 PasswordType passwordType()
const;
83 void setPasswordType(PasswordType type);
88 QString passwordPreSalt()
const;
93 void setPasswordPreSalt(
const QString &passwordPreSalt);
98 QString passwordPostSalt()
const;
103 void setPasswordPostSalt(
const QString &passwordPostSalt);
110 void setRequireSsl(
bool require);
115 CredentialHttpPrivate *d_ptr;
The Cutelyst namespace holds all public Cutelyst API.
QMultiMap< QString, QString > ParamsMultiMap