• Skip to content
  • Skip to link menu
KDE 4.6 API Reference
  • KDE API Reference
  • kdelibs
  • KDE Home
  • Contact Us
 

KIOSlave

Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes

KAbstractHttpAuthentication Class Reference

#include <httpauthentication.h>

Inheritance diagram for KAbstractHttpAuthentication:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 KAbstractHttpAuthentication (KConfigGroup *config=0)
virtual ~KAbstractHttpAuthentication ()
virtual void fillKioAuthInfo (KIO::AuthInfo *ai) const =0
bool forceDisconnect () const
bool forceKeepAlive () const
virtual void generateResponse (const QString &user, const QString &password)=0
QByteArray headerFragment () const
bool isError () const
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 bool supportsPathMatching () const
bool wasFinalStage () const

Static Public Member Functions

static QByteArray bestOffer (const QList< QByteArray > &offers)
static
KAbstractHttpAuthentication * 
newAuth (const QByteArray &offer, KConfigGroup *config=0)

Protected Member Functions

virtual QByteArray authDataToCache () const
void authInfoBoilerplate (KIO::AuthInfo *a) const
void generateResponseCommon (const QString &user, const QString &password)

Protected Attributes

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_needCredentials
QString m_password
KUrl m_resource
QByteArray m_scheme
QString m_username

Detailed Description

Definition at line 38 of file httpauthentication.h.


Constructor & Destructor Documentation

KAbstractHttpAuthentication::KAbstractHttpAuthentication ( KConfigGroup *  config = 0)

Definition at line 108 of file httpauthentication.cpp.

KAbstractHttpAuthentication::~KAbstractHttpAuthentication ( ) [virtual]

Definition at line 114 of file httpauthentication.cpp.


Member Function Documentation

virtual QByteArray KAbstractHttpAuthentication::authDataToCache ( ) const [inline, protected, virtual]

Reimplemented in KHttpBasicAuthentication, and KHttpDigestAuthentication.

Definition at line 88 of file httpauthentication.h.

void KAbstractHttpAuthentication::authInfoBoilerplate ( KIO::AuthInfo *  a) const [protected]

Definition at line 212 of file httpauthentication.cpp.

QByteArray KAbstractHttpAuthentication::bestOffer ( const QList< QByteArray > &  offers) [static]

Definition at line 118 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 79 of file httpauthentication.h.

bool KAbstractHttpAuthentication::forceKeepAlive ( ) const [inline]

Definition at line 77 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 223 of file httpauthentication.cpp.

QByteArray KAbstractHttpAuthentication::headerFragment ( ) const [inline]

Definition at line 82 of file httpauthentication.h.

bool KAbstractHttpAuthentication::isError ( ) const [inline]

Definition at line 75 of file httpauthentication.h.

bool KAbstractHttpAuthentication::needCredentials ( ) const [inline]

Definition at line 55 of file httpauthentication.h.

KAbstractHttpAuthentication * KAbstractHttpAuthentication::newAuth ( const QByteArray &  offer,
KConfigGroup *  config = 0 
) [static]

Definition at line 152 of file httpauthentication.cpp.

QString KAbstractHttpAuthentication::realm ( ) const

Definition at line 202 of file httpauthentication.cpp.

void KAbstractHttpAuthentication::reset ( )

Definition at line 173 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 190 of file httpauthentication.cpp.

virtual bool KAbstractHttpAuthentication::supportsPathMatching ( ) const [inline, virtual]

Reimplemented in KHttpBasicAuthentication, and KHttpDigestAuthentication.

Definition at line 69 of file httpauthentication.h.

bool KAbstractHttpAuthentication::wasFinalStage ( ) const [inline]

Definition at line 66 of file httpauthentication.h.


Member Data Documentation

QList<QByteArray> KAbstractHttpAuthentication::m_challenge [protected]

Definition at line 94 of file httpauthentication.h.

QByteArray KAbstractHttpAuthentication::m_challengeText [protected]

Definition at line 93 of file httpauthentication.h.

KConfigGroup* KAbstractHttpAuthentication::m_config [protected]

Definition at line 91 of file httpauthentication.h.

bool KAbstractHttpAuthentication::m_finalAuthStage [protected]

Definition at line 102 of file httpauthentication.h.

bool KAbstractHttpAuthentication::m_forceDisconnect [protected]

Definition at line 101 of file httpauthentication.h.

bool KAbstractHttpAuthentication::m_forceKeepAlive [protected]

Definition at line 100 of file httpauthentication.h.

QByteArray KAbstractHttpAuthentication::m_headerFragment [protected]

Definition at line 103 of file httpauthentication.h.

QByteArray KAbstractHttpAuthentication::m_httpMethod [protected]

Definition at line 96 of file httpauthentication.h.

bool KAbstractHttpAuthentication::m_isError [protected]

Definition at line 98 of file httpauthentication.h.

bool KAbstractHttpAuthentication::m_needCredentials [protected]

Definition at line 99 of file httpauthentication.h.

QString KAbstractHttpAuthentication::m_password [protected]

Definition at line 106 of file httpauthentication.h.

KUrl KAbstractHttpAuthentication::m_resource [protected]

Definition at line 95 of file httpauthentication.h.

QByteArray KAbstractHttpAuthentication::m_scheme [protected]

Definition at line 92 of file httpauthentication.h.

QString KAbstractHttpAuthentication::m_username [protected]

Definition at line 105 of file httpauthentication.h.


The documentation for this class was generated from the following files:
  • httpauthentication.h
  • httpauthentication.cpp

KIOSlave

Skip menu "KIOSlave"
  • Main Page
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.7.3
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal