16 #ifndef KDSOAPAUTHENTICATION_H 17 #define KDSOAPAUTHENTICATION_H 19 #include "KDSoapGlobal.h" 20 #include <QtCore/QUrl> 25 class QXmlStreamWriter;
27 class KDSoapNamespacePrefixes;
39 friend class KDSoapMessageWriter;
40 friend class KDSoapClientInterfacePrivate;
41 friend class KDSoapThreadTask;
59 void setUser(
const QString &user);
68 void setPassword(
const QString &password);
72 QString password()
const;
77 void setUsePasswordDigest(
const bool usePasswordDigest);
81 bool usePasswordDigest()
const;
89 void setUseWSUsernameToken(
bool useWSUsernameToken);
94 bool useWSUsernameToken()
const;
101 void setOverrideWSUsernameCreatedTime(QDateTime overrideWSUsernameCreatedTime);
106 QDateTime overrideWSUsernameCreatedTime()
const;
113 void setOverrideWSUsernameNonce(QByteArray overrideWSUsernameNonce);
118 QByteArray overrideWSUsernameNonce()
const;
124 bool hasAuth()
const;
135 void handleAuthenticationRequired(QNetworkReply *reply, QAuthenticator *authenticator);
140 bool hasWSUsernameTokenHeader()
const;
145 void writeWSUsernameTokenHeader(QXmlStreamWriter &writer)
const;
152 #endif // KDSOAPAUTHENTICATION_H Definition: KDSoapAuthentication.h:36