42 #ifndef QHTTPAUTHENTICATOR_P_H
43 #define QHTTPAUTHENTICATOR_P_H
57 #include <qbytearray.h>
60 #include <QAuthenticator>
85 QString
realm()
const;
87 QVariant
option(
const QString & opt)
const;
89 void setOption(
const QString & opt,
const QVariant & value);
155 void parseHttpResponse(
const QList<QPair<QByteArray, QByteArray>> &,
bool isProxy);
QString password() const
Definition: qhttpauthenticator.cpp:263
static QHash< QByteArray, QByteArray > parseDigestAuthenticationChallenge(const QByteArray &challenge)
Definition: qhttpauthenticator.cpp:504
void setUser(const QString &user)
Definition: qhttpauthenticator.cpp:229
Phase
Definition: qhttpauthenticator_p.h:127
QVariantHash options
Definition: qhttpauthenticator_p.h:121
QAtomicInt ref
Definition: qhttpauthenticator_p.h:117
Method
Definition: qhttpauthenticator_p.h:105
static QHttpAuthenticatorPrivate * getPrivate(QHttpAuthenticator &auth)
Definition: qhttpauthenticator_p.h:146
QVariantHash options() const
Definition: qhttpauthenticator.cpp:324
QString user
Definition: qhttpauthenticator_p.h:118
Definition: qhttpauthenticator_p.h:111
Definition: qhttpauthenticator_p.h:109
QString password
Definition: qhttpauthenticator_p.h:120
QString extractedUser
Definition: qhttpauthenticator_p.h:119
bool isNull() const
Definition: qhttpauthenticator.cpp:346
Definition: qhttpauthenticator_p.h:107
QByteArray challenge
Definition: qhttpauthenticator_p.h:124
void parseHttpResponse(const QHttpResponseHeader &, bool isProxy)
Definition: qhttpauthenticator.cpp:361
static const QHttpAuthenticatorPrivate * getPrivate(const QHttpAuthenticator &auth)
Definition: qhttpauthenticator_p.h:147
Definition: qhttpauthenticator_p.h:102
QString realm
Definition: qhttpauthenticator_p.h:123
QVariant option(const QString &opt) const
Definition: qhttpauthenticator.cpp:311
Definition: qhttpauthenticator_p.h:130
void detach()
Definition: qhttpauthenticator.cpp:282
QAuthenticator toQAuthenticator()
Definition: qhttpauthenticator.cpp:199
Definition: qhttpauthenticator_p.h:112
Definition: qhttpauthenticator_p.h:132
QString realm() const
Definition: qhttpauthenticator.cpp:298
bool operator==(const QHttpAuthenticator &other) const
Definition: qhttpauthenticator.cpp:179
Definition: qhttpauthenticator_p.h:113
Method method
Definition: qhttpauthenticator_p.h:122
QHttpAuthenticator & operator=(const QHttpAuthenticator &other)
Definition: qhttpauthenticator.cpp:161
Definition: qhttpauthenticator_p.h:108
QHttpAuthenticatorPrivate()
Definition: qhttpauthenticator.cpp:351
~QHttpAuthenticator()
Definition: qhttpauthenticator.cpp:142
Definition: qhttpauthenticator_p.h:131
void setOption(const QString &opt, const QVariant &value)
Definition: qhttpauthenticator.cpp:337
QByteArray calculateResponse(const QByteArray &method, const QByteArray &path)
Definition: qhttpauthenticator.cpp:442
The QHttpAuthenticator class provides an authentication object.
Definition: qhttpauthenticator_p.h:67
int nonceCount
Definition: qhttpauthenticator_p.h:138
QHttpAuthenticator()
Definition: qhttpauthenticator.cpp:134
QByteArray cnonce
Definition: qhttpauthenticator_p.h:137
bool hasFailed
Definition: qhttpauthenticator_p.h:125
void setPassword(const QString &password)
Definition: qhttpauthenticator.cpp:273
QString user() const
Definition: qhttpauthenticator.cpp:219
QByteArray digestMd5Response(const QByteArray &challenge, const QByteArray &method, const QByteArray &path)
Definition: qhttpauthenticator.cpp:654
bool operator!=(const QHttpAuthenticator &other) const
Definition: qhttpauthenticator_p.h:77
QString workstation
Definition: qhttpauthenticator_p.h:141
QString userDomain
Definition: qhttpauthenticator_p.h:142
Phase phase
Definition: qhttpauthenticator_p.h:134
QHttpAuthenticatorPrivate * d
Definition: qhttpauthenticator_p.h:99
Definition: qhttpauthenticator_p.h:129
Definition: qhttpauthenticator_p.h:110