KD SOAP  1.7.0
Public Member Functions | List of all members
KDSoapAuthentication Class Reference

#include <KDSoapAuthentication.h>

Public Member Functions

 KDSoapAuthentication ()
 
 KDSoapAuthentication (const KDSoapAuthentication &other)
 
 ~KDSoapAuthentication ()
 
void setUser (const QString &user)
 
QString user () const
 
void setPassword (const QString &password)
 
QString password () const
 
bool hasAuth () const
 
KDSoapAuthenticationoperator= (const KDSoapAuthentication &other)
 

Detailed Description

KDSoapAuthentication provides an authentication object. Currently it only supports authentication based on user/password, but its design makes it extensible to other forms of authentication.

See also
KDSoapClientInterface::setAuthentication()

Constructor & Destructor Documentation

KDSoapAuthentication::KDSoapAuthentication ( )

Constructs an empty authentication object.

KDSoapAuthentication::KDSoapAuthentication ( const KDSoapAuthentication other)

Constructs a copy of other.

KDSoapAuthentication::~KDSoapAuthentication ( )

Destructs the object

Member Function Documentation

void KDSoapAuthentication::setUser ( const QString &  user)

Sets the user used for authentication

QString KDSoapAuthentication::user ( ) const
Returns
the user used for authentication
void KDSoapAuthentication::setPassword ( const QString &  password)

Sets the password used for authentication

QString KDSoapAuthentication::password ( ) const
Returns
the password used for authentication
bool KDSoapAuthentication::hasAuth ( ) const
Returns
true if authentication was defined, or false if this object is only a default-constructed KDSoapAuthentication().
KDSoapAuthentication & KDSoapAuthentication::operator= ( const KDSoapAuthentication other)

Assigns the contents of other to this authenticator.


The documentation for this class was generated from the following files:

Klarälvdalens Datakonsult AB (KDAB)
Qt-related services and products
http://www.kdab.com/
http://www.kdab.com/products/kd-soap/