Home · All Classes · All Functions · Overviews |
The QAuthenticator class provides an authentication object. More...
#include <QAuthenticator>
This class is not part of the Qt GUI Framework Edition.
Note: All functions in this class are reentrant.
This class was introduced in Qt 4.3.
QAuthenticator () | |
QAuthenticator ( const QAuthenticator & other ) | |
~QAuthenticator () | |
bool | isNull () const |
QString | password () const |
QString | realm () const |
void | setPassword ( const QString & password ) |
void | setUser ( const QString & user ) |
QString | user () const |
bool | operator!= ( const QAuthenticator & other ) const |
QAuthenticator & | operator= ( const QAuthenticator & other ) |
bool | operator== ( const QAuthenticator & other ) const |
The QAuthenticator class provides an authentication object.
The QAuthenticator class is usually used in the authenticationRequired() and proxyAuthenticationRequired() signals of QNetworkAccessManager and QAbstractSocket. The class provides a way to pass back the required authentication information to the socket when accessing services that require authentication.
QAuthenticator supports the following authentication methods:
Note that, in particular, NTLM version 2 is not supported.
See also QSslSocket.
Constructs an empty authentication object
Constructs a copy of other.
Destructs the object
returns true if the authenticator is null.
returns the password used for authentication.
See also setPassword().
returns the realm requiring authentication.
Sets the password used for authentication.
See also password().
Sets the user used for authentication.
See also user().
returns the user used for authentication.
See also setUser().
Returns true if this authenticator is different from other; otherwise returns false.
Assigns the contents of other to this authenticator.
Returns true if this authenticator is identical to other; otherwise returns false.
Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies) | Trademarks | Qt 4.6.0 |