18 #ifndef CREDENTIALHTTP_H 19 #define CREDENTIALHTTP_H 21 #include <QtCore/QCryptographicHash> 23 #include <Cutelyst/cutelyst_global.h> 24 #include <Cutelyst/Plugins/Authentication/authentication.h> 28 class CredentialHttpPrivate;
59 void setType(CredentialHttp::AuthType type);
66 void setAuthorizationRequiredMessage(
const QString &message);
76 void setUsernameField(
const QString &fieldName);
86 void setPasswordField(
const QString &fieldName);
91 PasswordType passwordType()
const;
96 void setPasswordType(PasswordType type);
101 QString passwordPreSalt()
const;
106 void setPasswordPreSalt(
const QString &passwordPreSalt);
111 QString passwordPostSalt()
const;
116 void setPasswordPostSalt(
const QString &passwordPostSalt);
123 void setRequireSsl(
bool require);
128 CredentialHttpPrivate *d_ptr;
134 #endif // CREDENTIALHTTP_H
The Cutelyst namespace holds all public Cutelyst API.