KIOSlave
#include <httpauthentication.h>
Public Member Functions | |
virtual void | fillKioAuthInfo (KIO::AuthInfo *ai) const |
virtual void | generateResponse (const QString &user, const QString &password) |
virtual QByteArray | scheme () const |
virtual void | setChallenge (const QByteArray &c, const KUrl &resource, const QByteArray &httpMethod) |
virtual bool | supportsPathMatching () const |
Public Member Functions inherited from KAbstractHttpAuthentication | |
KAbstractHttpAuthentication (KConfigGroup *config=0) | |
virtual | ~KAbstractHttpAuthentication () |
bool | forceDisconnect () const |
bool | forceKeepAlive () const |
QByteArray | headerFragment () const |
bool | isError () const |
bool | needCredentials () const |
QString | realm () const |
void | reset () |
void | setCachePasswordEnabled (bool enable) |
bool | wasFinalStage () const |
Protected Member Functions | |
virtual QByteArray | authDataToCache () const |
Protected Member Functions inherited from KAbstractHttpAuthentication | |
void | authInfoBoilerplate (KIO::AuthInfo *a) const |
void | generateResponseCommon (const QString &user, const QString &password) |
Additional Inherited Members | |
Static Public Member Functions inherited from KAbstractHttpAuthentication | |
static QByteArray | bestOffer (const QList< QByteArray > &offers) |
static KAbstractHttpAuthentication * | newAuth (const QByteArray &offer, KConfigGroup *config=0) |
static QList< QByteArray > | splitOffers (const QList< QByteArray > &offers) |
Protected Attributes inherited from KAbstractHttpAuthentication | |
QList< QByteArray > | m_challenge |
QByteArray | m_challengeText |
KConfigGroup * | m_config |
bool | m_finalAuthStage |
bool | m_forceDisconnect |
bool | m_forceKeepAlive |
QByteArray | m_headerFragment |
QByteArray | m_httpMethod |
bool | m_isError |
bool | m_keepPassword |
bool | m_needCredentials |
QString | m_password |
KUrl | m_resource |
QByteArray | m_scheme |
QString | m_username |
Detailed Description
Definition at line 198 of file httpauthentication.h.
Member Function Documentation
|
inlineprotectedvirtual |
Returns any authentication data that should be cached for future use.
NOTE: Do not reimplement this function for connection based authentication schemes such as NTLM.
Reimplemented from KAbstractHttpAuthentication.
Definition at line 211 of file httpauthentication.h.
|
virtual |
KIO compatible data to find cached credentials.
Note that username and/or password as well as UI text will NOT be filled in.
Implements KAbstractHttpAuthentication.
Definition at line 427 of file httpauthentication.cpp.
|
virtual |
what to do in response to challenge
Implements KAbstractHttpAuthentication.
Definition at line 519 of file httpauthentication.cpp.
|
virtual |
the authentication scheme: "Negotiate", "Digest", "Basic", "NTLM"
Implements KAbstractHttpAuthentication.
Definition at line 400 of file httpauthentication.cpp.
|
virtual |
initiate authentication with challenge string (from HTTP header)
Reimplemented from KAbstractHttpAuthentication.
Definition at line 406 of file httpauthentication.cpp.
|
inlinevirtual |
Returns true if the authentication scheme supports path matching to identify resources that belong to the same protection space (realm).
See RFC 2617.
Reimplemented from KAbstractHttpAuthentication.
Definition at line 205 of file httpauthentication.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:50:58 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.