5#ifndef CREDENTIALHTTP_H
6#define CREDENTIALHTTP_H
8#include <Cutelyst/Plugins/Authentication/authentication.h>
9#include <Cutelyst/cutelyst_global.h>
11#include <QtCore/QCryptographicHash>
15class CredentialHttpPrivate;
46 void setType(CredentialHttp::AuthType type);
53 void setAuthorizationRequiredMessage(
const QString &message);
63 void setUsernameField(
const QString &fieldName);
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);
116 CredentialHttpPrivate *d_ptr;
The Cutelyst namespace holds all public Cutelyst API.