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

KIOSlave

Public Member Functions | Protected Member Functions | List of all members
KHttpBasicAuthentication Class Reference

#include <httpauthentication.h>

Inheritance diagram for KHttpBasicAuthentication:
Inheritance graph
[legend]

Public Member Functions

virtual void fillKioAuthInfo (KIO::AuthInfo *ai) const
 
virtual void generateResponse (const QString &user, const QString &password)
 
virtual QByteArray scheme () const
 
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)
 
virtual void setChallenge (const QByteArray &c, const KUrl &resource, const QByteArray &httpMethod)
 
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 182 of file httpauthentication.h.

Member Function Documentation

virtual QByteArray KHttpBasicAuthentication::authDataToCache ( ) const
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 190 of file httpauthentication.h.

void KHttpBasicAuthentication::fillKioAuthInfo ( KIO::AuthInfo *  ai) const
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 382 of file httpauthentication.cpp.

void KHttpBasicAuthentication::generateResponse ( const QString &  user,
const QString &  password 
)
virtual

what to do in response to challenge

Implements KAbstractHttpAuthentication.

Definition at line 387 of file httpauthentication.cpp.

QByteArray KHttpBasicAuthentication::scheme ( ) const
virtual

the authentication scheme: "Negotiate", "Digest", "Basic", "NTLM"

Implements KAbstractHttpAuthentication.

Definition at line 376 of file httpauthentication.cpp.

virtual bool KHttpBasicAuthentication::supportsPathMatching ( ) const
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 188 of file httpauthentication.h.


The documentation for this class was generated from the following files:
  • httpauthentication.h
  • httpauthentication.cpp
This file is part of the KDE documentation.
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.

KIOSlave

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

kdelibs API Reference

Skip menu "kdelibs API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  • kjsembed
  •   WTF
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Nepomuk-Core
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal