KIOSlave
KAbstractHttpAuthentication Class Reference
#include <httpauthentication.h>

Public Member Functions | |
virtual void | fillKioAuthInfo (KIO::AuthInfo *ai) const =0 |
bool | forceDisconnect () const |
bool | forceKeepAlive () const |
virtual void | generateResponse (const QString &user, const QString &password)=0 |
QString | headerFragment () const |
bool | isError () const |
KAbstractHttpAuthentication () | |
bool | needCredentials () const |
QString | realm () const |
void | reset () |
virtual QByteArray | scheme () const =0 |
virtual void | setChallenge (const QByteArray &c, const KUrl &resource, const QByteArray &httpMethod) |
virtual | ~KAbstractHttpAuthentication () |
Static Public Member Functions | |
static QByteArray | bestOffer (const QList< QByteArray > &offers) |
static KAbstractHttpAuthentication * | newAuth (const QByteArray &offer) |
Protected Member Functions | |
void | authInfoBoilerplate (KIO::AuthInfo *a) const |
void | generateResponseCommon (const QString &user, const QString &password) |
Protected Attributes | |
QList< QByteArray > | m_challenge |
bool | m_forceDisconnect |
bool | m_forceKeepAlive |
QString | m_headerFragment |
QByteArray | m_httpMethod |
bool | m_isError |
bool | m_needCredentials |
QString | m_password |
KUrl | m_resource |
QByteArray | m_scheme |
QString | m_username |
Detailed Description
Definition at line 36 of file httpauthentication.h.
Constructor & Destructor Documentation
KAbstractHttpAuthentication::KAbstractHttpAuthentication | ( | ) | [inline] |
Definition at line 39 of file httpauthentication.h.
virtual KAbstractHttpAuthentication::~KAbstractHttpAuthentication | ( | ) | [inline, virtual] |
Definition at line 47 of file httpauthentication.h.
Member Function Documentation
void KAbstractHttpAuthentication::authInfoBoilerplate | ( | KIO::AuthInfo * | a | ) | const [protected] |
Definition at line 198 of file httpauthentication.cpp.
QByteArray KAbstractHttpAuthentication::bestOffer | ( | const QList< QByteArray > & | offers | ) | [static] |
Definition at line 107 of file httpauthentication.cpp.
virtual void KAbstractHttpAuthentication::fillKioAuthInfo | ( | KIO::AuthInfo * | ai | ) | const [pure virtual] |
Implemented in KHttpBasicAuthentication, KHttpDigestAuthentication, and KHttpNtlmAuthentication.
bool KAbstractHttpAuthentication::forceDisconnect | ( | ) | const [inline] |
Definition at line 73 of file httpauthentication.h.
bool KAbstractHttpAuthentication::forceKeepAlive | ( | ) | const [inline] |
Definition at line 71 of file httpauthentication.h.
virtual void KAbstractHttpAuthentication::generateResponse | ( | const QString & | user, | |
const QString & | password | |||
) | [pure virtual] |
Implemented in KHttpBasicAuthentication, KHttpDigestAuthentication, and KHttpNtlmAuthentication.
void KAbstractHttpAuthentication::generateResponseCommon | ( | const QString & | user, | |
const QString & | password | |||
) | [protected] |
Definition at line 208 of file httpauthentication.cpp.
QString KAbstractHttpAuthentication::headerFragment | ( | ) | const [inline] |
Definition at line 76 of file httpauthentication.h.
bool KAbstractHttpAuthentication::isError | ( | ) | const [inline] |
Definition at line 69 of file httpauthentication.h.
bool KAbstractHttpAuthentication::needCredentials | ( | ) | const [inline] |
Definition at line 57 of file httpauthentication.h.
KAbstractHttpAuthentication * KAbstractHttpAuthentication::newAuth | ( | const QByteArray & | offer | ) | [static] |
Definition at line 141 of file httpauthentication.cpp.
QString KAbstractHttpAuthentication::realm | ( | ) | const |
Definition at line 187 of file httpauthentication.cpp.
void KAbstractHttpAuthentication::reset | ( | ) |
Definition at line 160 of file httpauthentication.cpp.
virtual QByteArray KAbstractHttpAuthentication::scheme | ( | ) | const [pure virtual] |
Implemented in KHttpBasicAuthentication, KHttpDigestAuthentication, and KHttpNtlmAuthentication.
void KAbstractHttpAuthentication::setChallenge | ( | const QByteArray & | c, | |
const KUrl & | resource, | |||
const QByteArray & | httpMethod | |||
) | [virtual] |
Reimplemented in KHttpDigestAuthentication, and KHttpNtlmAuthentication.
Definition at line 176 of file httpauthentication.cpp.
Member Data Documentation
QList<QByteArray> KAbstractHttpAuthentication::m_challenge [protected] |
Definition at line 85 of file httpauthentication.h.
bool KAbstractHttpAuthentication::m_forceDisconnect [protected] |
Definition at line 92 of file httpauthentication.h.
bool KAbstractHttpAuthentication::m_forceKeepAlive [protected] |
Definition at line 91 of file httpauthentication.h.
QString KAbstractHttpAuthentication::m_headerFragment [protected] |
Definition at line 93 of file httpauthentication.h.
QByteArray KAbstractHttpAuthentication::m_httpMethod [protected] |
Definition at line 87 of file httpauthentication.h.
bool KAbstractHttpAuthentication::m_isError [protected] |
Definition at line 89 of file httpauthentication.h.
bool KAbstractHttpAuthentication::m_needCredentials [protected] |
Definition at line 90 of file httpauthentication.h.
QString KAbstractHttpAuthentication::m_password [protected] |
Definition at line 96 of file httpauthentication.h.
KUrl KAbstractHttpAuthentication::m_resource [protected] |
Definition at line 86 of file httpauthentication.h.
QByteArray KAbstractHttpAuthentication::m_scheme [protected] |
Definition at line 84 of file httpauthentication.h.
QString KAbstractHttpAuthentication::m_username [protected] |
Definition at line 95 of file httpauthentication.h.
The documentation for this class was generated from the following files: