KVIrc  4.9.2
DeveloperAPIs
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
QHttpAuthenticatorPrivate Class Reference

#include <qhttpauthenticator_p.h>

Public Types

enum  Method {
  None, Basic, Plain, Login,
  Ntlm, CramMd5, DigestMd5
}
 
enum  Phase { Start, Phase2, Done, Invalid }
 

Public Member Functions

QByteArray calculateResponse (const QByteArray &method, const QByteArray &path)
 
QByteArray digestMd5Response (const QByteArray &challenge, const QByteArray &method, const QByteArray &path)
 
void parseHttpResponse (const QHttpResponseHeader &, bool isProxy)
 
void parseHttpResponse (const QList< QPair< QByteArray, QByteArray >> &, bool isProxy)
 
 QHttpAuthenticatorPrivate ()
 

Static Public Member Functions

static QHttpAuthenticatorPrivategetPrivate (QHttpAuthenticator &auth)
 
static const
QHttpAuthenticatorPrivate
getPrivate (const QHttpAuthenticator &auth)
 
static QHash< QByteArray,
QByteArray > 
parseDigestAuthenticationChallenge (const QByteArray &challenge)
 

Public Attributes

QByteArray challenge
 
QByteArray cnonce
 
QString extractedUser
 
bool hasFailed
 
Method method
 
int nonceCount
 
QVariantHash options
 
QString password
 
Phase phase
 
QString realm
 
QAtomicInt ref
 
QString user
 
QString userDomain
 
QString workstation
 

Member Enumeration Documentation

Enumerator
None 
Basic 
Plain 
Login 
Ntlm 
CramMd5 
DigestMd5 
Enumerator
Start 
Phase2 
Done 
Invalid 

Constructor & Destructor Documentation

QHttpAuthenticatorPrivate::QHttpAuthenticatorPrivate ( )

References cnonce, and nonceCount.

Member Function Documentation

QByteArray QHttpAuthenticatorPrivate::calculateResponse ( const QByteArray &  method,
const QByteArray &  path 
)
QByteArray QHttpAuthenticatorPrivate::digestMd5Response ( const QByteArray &  challenge,
const QByteArray &  method,
const QByteArray &  path 
)
static QHttpAuthenticatorPrivate* QHttpAuthenticatorPrivate::getPrivate ( QHttpAuthenticator auth)
inlinestatic
static const QHttpAuthenticatorPrivate* QHttpAuthenticatorPrivate::getPrivate ( const QHttpAuthenticator auth)
inlinestatic

References QHttpAuthenticator::d.

QHash< QByteArray, QByteArray > QHttpAuthenticatorPrivate::parseDigestAuthenticationChallenge ( const QByteArray &  challenge)
static
void QHttpAuthenticatorPrivate::parseHttpResponse ( const QHttpResponseHeader header,
bool  isProxy 
)
void QHttpAuthenticatorPrivate::parseHttpResponse ( const QList< QPair< QByteArray, QByteArray >> &  values,
bool  isProxy 
)

Member Data Documentation

QByteArray QHttpAuthenticatorPrivate::challenge
QByteArray QHttpAuthenticatorPrivate::cnonce
QString QHttpAuthenticatorPrivate::extractedUser
bool QHttpAuthenticatorPrivate::hasFailed
Method QHttpAuthenticatorPrivate::method
int QHttpAuthenticatorPrivate::nonceCount
QVariantHash QHttpAuthenticatorPrivate::options
QString QHttpAuthenticatorPrivate::password
Phase QHttpAuthenticatorPrivate::phase
QString QHttpAuthenticatorPrivate::realm
QAtomicInt QHttpAuthenticatorPrivate::ref
QString QHttpAuthenticatorPrivate::user
QString QHttpAuthenticatorPrivate::userDomain
QString QHttpAuthenticatorPrivate::workstation

Referenced by qNtlmPhase3().


The documentation for this class was generated from the following files: