• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdelibs
  • Sitemap
  • Contact Us
 

KIOSlave

KAbstractHttpAuthentication Class Reference

#include <httpauthentication.h>

Inheritance diagram for KAbstractHttpAuthentication:

Inheritance graph
[legend]

List of all members.


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 ()
QString realm () const
void reset ()
bool retryWithSameCredentials () const
virtual QByteArray scheme () const =0
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
QString m_password
KUrl m_resource
bool m_retryWithSameCredentials
QByteArray m_scheme
QString m_username

Detailed Description

Definition at line 34 of file httpauthentication.h.


Constructor & Destructor Documentation

KAbstractHttpAuthentication::KAbstractHttpAuthentication (  )  [inline]

Definition at line 37 of file httpauthentication.h.

virtual KAbstractHttpAuthentication::~KAbstractHttpAuthentication (  )  [inline, virtual]

Definition at line 45 of file httpauthentication.h.


Member Function Documentation

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

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

bool KAbstractHttpAuthentication::forceKeepAlive (  )  const [inline]

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

QString KAbstractHttpAuthentication::headerFragment (  )  const [inline]

Definition at line 74 of file httpauthentication.h.

bool KAbstractHttpAuthentication::isError (  )  const [inline]

Definition at line 64 of file httpauthentication.h.

KAbstractHttpAuthentication * KAbstractHttpAuthentication::newAuth ( const QByteArray &  offer  )  [static]

Definition at line 133 of file httpauthentication.cpp.

QString KAbstractHttpAuthentication::realm (  )  const

Definition at line 174 of file httpauthentication.cpp.

void KAbstractHttpAuthentication::reset (  ) 

Definition at line 147 of file httpauthentication.cpp.

bool KAbstractHttpAuthentication::retryWithSameCredentials (  )  const [inline]

Definition at line 67 of file httpauthentication.h.

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 
)

Definition at line 163 of file httpauthentication.cpp.


Member Data Documentation

QList<QByteArray> KAbstractHttpAuthentication::m_challenge [protected]

Definition at line 83 of file httpauthentication.h.

bool KAbstractHttpAuthentication::m_forceDisconnect [protected]

Definition at line 90 of file httpauthentication.h.

bool KAbstractHttpAuthentication::m_forceKeepAlive [protected]

Definition at line 89 of file httpauthentication.h.

QString KAbstractHttpAuthentication::m_headerFragment [protected]

Definition at line 91 of file httpauthentication.h.

QByteArray KAbstractHttpAuthentication::m_httpMethod [protected]

Definition at line 85 of file httpauthentication.h.

bool KAbstractHttpAuthentication::m_isError [protected]

Definition at line 87 of file httpauthentication.h.

QString KAbstractHttpAuthentication::m_password [protected]

Definition at line 94 of file httpauthentication.h.

KUrl KAbstractHttpAuthentication::m_resource [protected]

Definition at line 84 of file httpauthentication.h.

bool KAbstractHttpAuthentication::m_retryWithSameCredentials [protected]

Definition at line 88 of file httpauthentication.h.

QByteArray KAbstractHttpAuthentication::m_scheme [protected]

Definition at line 82 of file httpauthentication.h.

QString KAbstractHttpAuthentication::m_username [protected]

Definition at line 93 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
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • Kross
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.7
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