![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qauthenticator_p.h>
Public Types | |
enum | Method { None , Basic , Negotiate , Ntlm , DigestMd5 } |
enum | Phase { Start , Phase1 , Phase2 , Done , Invalid } |
Public Member Functions | |
QAuthenticatorPrivate () | |
void | swap (QAuthenticatorPrivate &other) noexcept |
~QAuthenticatorPrivate () | |
QByteArray | calculateResponse (QByteArrayView method, QByteArrayView path, QStringView host) |
QByteArray | digestMd5Response (QByteArrayView challenge, QByteArrayView method, QByteArrayView path) |
void | parseHttpResponse (const QHttpHeaders &headers, bool isProxy, QStringView host) |
void | updateCredentials () |
Static Public Member Functions | |
static QAuthenticatorPrivate * | getPrivate (QAuthenticator &auth) |
static const QAuthenticatorPrivate * | getPrivate (const QAuthenticator &auth) |
static QHash< QByteArray, QByteArray > | parseDigestAuthenticationChallenge (QByteArrayView challenge) |
static bool | isMethodSupported (QByteArrayView method) |
Public Attributes | |
QString | user |
QString | extractedUser |
QString | password |
QVariantHash | options |
Method | method |
QString | realm |
QByteArray | challenge |
bool | hasFailed |
Phase | phase |
QByteArray | cnonce |
int | nonceCount |
QString | workstation |
QString | userDomain |
Definition at line 38 of file qauthenticator_p.h.
Enumerator | |
---|---|
None | |
Basic | |
Negotiate | |
Ntlm | |
DigestMd5 |
Definition at line 41 of file qauthenticator_p.h.
Enumerator | |
---|---|
Start | |
Phase1 | |
Phase2 | |
Done | |
Invalid |
Definition at line 83 of file qauthenticator_p.h.
QAuthenticatorPrivate::QAuthenticatorPrivate | ( | ) |
Definition at line 391 of file qauthenticator.cpp.
|
default |
QByteArray QAuthenticatorPrivate::calculateResponse | ( | QByteArrayView | method, |
QByteArrayView | path, | ||
QStringView | host ) |
Definition at line 556 of file qauthenticator.cpp.
QByteArray QAuthenticatorPrivate::digestMd5Response | ( | QByteArrayView | challenge, |
QByteArrayView | method, | ||
QByteArrayView | path ) |
Definition at line 813 of file qauthenticator.cpp.
|
inlinestatic |
Definition at line 103 of file qauthenticator_p.h.
|
inlinestatic |
Definition at line 102 of file qauthenticator_p.h.
|
static |
Definition at line 427 of file qauthenticator.cpp.
|
static |
Definition at line 675 of file qauthenticator.cpp.
void QAuthenticatorPrivate::parseHttpResponse | ( | const QHttpHeaders & | headers, |
bool | isProxy, | ||
QStringView | host ) |
Definition at line 462 of file qauthenticator.cpp.
|
inlinenoexcept |
Definition at line 45 of file qauthenticator_p.h.
void QAuthenticatorPrivate::updateCredentials | ( | ) |
Definition at line 404 of file qauthenticator.cpp.
QByteArray QAuthenticatorPrivate::challenge |
Definition at line 75 of file qauthenticator_p.h.
QByteArray QAuthenticatorPrivate::cnonce |
Definition at line 93 of file qauthenticator_p.h.
QString QAuthenticatorPrivate::extractedUser |
Definition at line 70 of file qauthenticator_p.h.
bool QAuthenticatorPrivate::hasFailed |
Definition at line 81 of file qauthenticator_p.h.
Method QAuthenticatorPrivate::method |
Definition at line 73 of file qauthenticator_p.h.
int QAuthenticatorPrivate::nonceCount |
Definition at line 94 of file qauthenticator_p.h.
QVariantHash QAuthenticatorPrivate::options |
Definition at line 72 of file qauthenticator_p.h.
Referenced by testing.tools.test_runner._TestCaseRunner::_NewImageArtifact(), testing.tools.test_runner._TestCaseRunner::_RegenerateIfNeeded(), testing.tools.test_runner._PerProcessState::GetSkiaGoldTester(), testing.tools.test_runner._PerProcessConfig::InitializeFeatures(), testing.tools.test_runner.TestRunner::IsSkiaGoldEnabled(), testing.tools.test_runner._PerProcessConfig::NewFinder(), testing.tools.test_runner._TestCaseRunner::TestPixel(), and testing.tools.test_runner._TestCaseRunner::TestText().
QString QAuthenticatorPrivate::password |
Definition at line 71 of file qauthenticator_p.h.
Phase QAuthenticatorPrivate::phase |
Definition at line 90 of file qauthenticator_p.h.
QString QAuthenticatorPrivate::realm |
Definition at line 74 of file qauthenticator_p.h.
QString QAuthenticatorPrivate::user |
Definition at line 69 of file qauthenticator_p.h.
QString QAuthenticatorPrivate::userDomain |
Definition at line 98 of file qauthenticator_p.h.
QString QAuthenticatorPrivate::workstation |
Definition at line 97 of file qauthenticator_p.h.