Home · All Classes · Modules

QAuthenticator Class Reference
[QtNetwork module]

The QAuthenticator class provides an authentication object. More...

Methods

Special Methods


Detailed Description

The QAuthenticator class provides an authentication object.

The QAuthenticator class is usually used in the authenticationRequired() and proxyAuthenticationRequired() signals of QHttp and QAbstractSocket. The class provides a way to pass back the required authentication information to the socket when accessing services that require authentication.

See also QSslSocket.


Method Documentation

QAuthenticator.__init__ (self)

Constructs an empty authentication object

QAuthenticator.__init__ (self, QAuthenticator other)

Constructs a copy of other.

bool QAuthenticator.isNull (self)

returns true if the authenticator is null.

QString QAuthenticator.password (self)

returns the password used for authentication.

See also setPassword().

QString QAuthenticator.realm (self)

returns the realm requiring authentication.

QAuthenticator.setPassword (self, QString password)

Sets the password used for authentication.

See also password().

QAuthenticator.setUser (self, QString user)

Sets the user used for authentication.

See also user().

QString QAuthenticator.user (self)

returns the user used for authentication.

See also setUser().

bool QAuthenticator.__eq__ (self, QAuthenticator other)

bool QAuthenticator.__ne__ (self, QAuthenticator other)


PyQt 4.3.1 for X11Copyright © Riverbank Computing Ltd and Trolltech AS 2007Qt 4.3.0