23 #ifndef KDSOAPAUTHENTICATION_H 24 #define KDSOAPAUTHENTICATION_H 26 #include "KDSoapGlobal.h" 27 #include <QtCore/QUrl> 32 class QXmlStreamWriter;
34 class KDSoapNamespacePrefixes;
46 friend class KDSoapMessageWriter;
47 friend class KDSoapClientInterfacePrivate;
48 friend class KDSoapThreadTask;
66 void setUser(
const QString &user);
75 void setPassword(
const QString &password);
79 QString password()
const;
87 void setUseWSUsernameToken(
bool useWSUsernameToken);
92 bool useWSUsernameToken()
const;
99 void setOverrideWSUsernameCreatedTime(QDateTime overrideWSUsernameCreatedTime);
104 QDateTime overrideWSUsernameCreatedTime()
const;
111 void setOverrideWSUsernameNonce(QByteArray overrideWSUsernameNonce);
116 QByteArray overrideWSUsernameNonce()
const;
122 bool hasAuth()
const;
133 void handleAuthenticationRequired(QNetworkReply *reply, QAuthenticator *authenticator);
138 bool hasWSUsernameTokenHeader()
const;
143 void writeWSUsernameTokenHeader(QXmlStreamWriter &writer)
const;
150 #endif // KDSOAPAUTHENTICATION_H Definition: KDSoapAuthentication.h:43