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

KIOSlave

Public Member Functions | List of all members
KHttpNtlmAuthentication Class Reference

#include <httpauthentication.h>

Inheritance diagram for KHttpNtlmAuthentication:
KAbstractHttpAuthentication

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)
 
- Public Member Functions inherited from KAbstractHttpAuthentication
 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
 
void setCachePasswordEnabled (bool enable)
 
virtual void setChallenge (const QByteArray &c, const KUrl &resource, const QByteArray &httpMethod)
 
virtual bool supportsPathMatching () const
 
bool wasFinalStage () const
 

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 Member Functions inherited from KAbstractHttpAuthentication
virtual QByteArray authDataToCache () const
 
void authInfoBoilerplate (KIO::AuthInfo *a) const
 
void generateResponseCommon (const QString &user, const QString &password)
 
- 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 222 of file httpauthentication.h.

Member Function Documentation

◆ fillKioAuthInfo()

void KHttpNtlmAuthentication::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 722 of file httpauthentication.cpp.

◆ generateResponse()

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

what to do in response to challenge

Implements KAbstractHttpAuthentication.

Definition at line 732 of file httpauthentication.cpp.

◆ scheme()

QByteArray KHttpNtlmAuthentication::scheme ( ) const
virtual

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

Implements KAbstractHttpAuthentication.

Definition at line 697 of file httpauthentication.cpp.

◆ setChallenge()

void KHttpNtlmAuthentication::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 703 of file httpauthentication.cpp.


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-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 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.14.38 API Reference

Skip menu "kdelibs-4.14.38 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