Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions |
The QObexAuthenticationChallenge class contains a received OBEX authentication challenge and allows the receiver to set a username and password that should be used for authentication. More...
#include <QObexAuthenticationChallenge>
The QObexAuthenticationChallenge class contains a received OBEX authentication challenge and allows the receiver to set a username and password that should be used for authentication.
This class is used in the QObexClientSession::authenticationRequired() and QObexServerSession::authenticationRequired() signals to pass on the data from a received OBEX authentication challenge. The programmer can then call setUser() and setPassword() to specify the username and password that should be returned in the authentication response.
See also QObexClientSession, QObexServerSession, and QObexAuthenticationResponse.
Constructs an empty authentication challenge.
Constructs an authentication challenge with the contents from other.
Destroys the challenge.
Returns the authentication options specified by the party that issued the authentication challenge.
Returns the password to be used for authentication.
See also setPassword().
Returns the realm specified by the party that issued the authentication challenge. The realm is a user-displayable description that indicates the user and/or password to be used for authentication.
Sets the password to be used for authentication to password.
See also password().
Sets the username to be used for authentication to userName.
Warning: The username must not be longer than 20 characters long, or authentication will fail.
See also user().
Returns the username to be used for authentication.
See also setUser().
Assigns the contents of other to this object and returns a reference to this challenge.
Copyright © 2009 Trolltech | Trademarks | Qt Extended 4.4.3 |