QXmpp::AuthenticationError Struct

struct QXmpp::AuthenticationError

Indicates an authentication error. More...

Header: #include <QXmppAuthenticationError.h>
Since: QXmpp 1.7

Public Types

enum Type { NotAuthorized, AccountDisabled, CredentialsExpired, EncryptionRequired, MechanismMismatch, …, RequiredTasks }

Public Variables

std::any details
QString text
QXmpp::AuthenticationError::Type type

Detailed Description

Member Type Documentation

enum AuthenticationError::Type

Describes the type of the authentication error.

ConstantValueDescription
QXmpp::AuthenticationError::NotAuthorized0The provided credentials have been rejected by the server.
QXmpp::AuthenticationError::AccountDisabled1The server did not allow authentication because the account is currently disabled.
QXmpp::AuthenticationError::CredentialsExpired2Used credentials are not valid anymore.
QXmpp::AuthenticationError::EncryptionRequired3Authentication is only allowed with an encrypted connection.
QXmpp::AuthenticationError::MechanismMismatch4Authenticated could not be completed because the server did not offer a compatible authentication mechanism.
QXmpp::AuthenticationError::ProcessingError5Local error while processing authentication challenges.
QXmpp::AuthenticationError::RequiredTasks6The 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