QXmpp::AuthenticationError Struct
struct QXmpp::AuthenticationErrorIndicates an authentication error. More...
| Header: | #include <QXmppAuthenticationError.h> |
| Since: | QXmpp 1.7 |
Public Types
| enum | Type { NotAuthorized, AccountDisabled, CredentialsExpired, EncryptionRequired, MechanismMismatch, …, RequiredTasks } |
Public Variables
Detailed Description
Member Type Documentation
enum AuthenticationError::Type
Describes the type of the authentication error.
| Constant | Value | Description |
|---|---|---|
QXmpp::AuthenticationError::NotAuthorized | 0 | The provided credentials have been rejected by the server. |
QXmpp::AuthenticationError::AccountDisabled | 1 | The server did not allow authentication because the account is currently disabled. |
QXmpp::AuthenticationError::CredentialsExpired | 2 | Used credentials are not valid anymore. |
QXmpp::AuthenticationError::EncryptionRequired | 3 | Authentication is only allowed with an encrypted connection. |
QXmpp::AuthenticationError::MechanismMismatch | 4 | Authenticated could not be completed because the server did not offer a compatible authentication mechanism. |
QXmpp::AuthenticationError::ProcessingError | 5 | Local error while processing authentication challenges. |
QXmpp::AuthenticationError::RequiredTasks | 6 | The server requested for tasks that are not supported. |
Member Variable Documentation
std::any AuthenticationError::details
Protocol-specific details provided to the error
QString AuthenticationError::text
Error message from the server
QXmpp::AuthenticationError::Type AuthenticationError::type
Type of the authentication error