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

KIOSlave

Public Member Functions | Protected Member Functions
KHttpDigestAuthentication Class Reference

#include <httpauthentication.h>

Inheritance diagram for KHttpDigestAuthentication:
Inheritance graph
[legend]

List of all members.

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

Protected Member Functions

virtual QByteArray authDataToCache () const

Detailed Description

Definition at line 198 of file httpauthentication.h.


Member Function Documentation

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

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.

void KHttpDigestAuthentication::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 427 of file httpauthentication.cpp.

void KHttpDigestAuthentication::generateResponse ( const QString &  user,
const QString &  password 
) [virtual]

what to do in response to challenge

Implements KAbstractHttpAuthentication.

Definition at line 519 of file httpauthentication.cpp.

QByteArray KHttpDigestAuthentication::scheme ( ) const [virtual]

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

Implements KAbstractHttpAuthentication.

Definition at line 400 of file httpauthentication.cpp.

void KHttpDigestAuthentication::setChallenge ( const QByteArray &  c,
const KUrl &  resource,
const QByteArray &  httpMethod 
) [virtual]

initiate authentication with challenge string (from HTTP header)

Reimplemented from KAbstractHttpAuthentication.

Definition at line 406 of file httpauthentication.cpp.

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

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:
  • httpauthentication.h
  • httpauthentication.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2012 The KDE developers.
Generated on Wed May 2 2012 18:44:29 by doxygen 1.8.0 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-4.8.3 API Reference

Skip menu "kdelibs-4.8.3 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
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
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