QXmpp Version: 1.10.0
QXmppAuthenticationError.h
1// SPDX-FileCopyrightText: 2024 Linus Jahn <lnj@kaidan.im>
2//
3// SPDX-License-Identifier: LGPL-2.1-or-later
4
5#ifndef QXMPPAUTHENTICATIONERROR_H
6#define QXMPPAUTHENTICATIONERROR_H
7
8#include "QXmppGlobal.h"
9
10#include <any>
11
12namespace QXmpp {
13
21 enum Type {
37 };
41 QString text;
43 std::any details;
44};
45
46} // namespace QXmpp
47
48#endif // QXMPPAUTHENTICATIONERROR_H
Definition: Algorithms.h:12
Definition: QXmppAuthenticationError.h:19
std::any details
Protocol-specific details provided to the error.
Definition: QXmppAuthenticationError.h:43
Type type
Type of the authentication error.
Definition: QXmppAuthenticationError.h:39
QString text
Error message from the server.
Definition: QXmppAuthenticationError.h:41
Type
Describes the type of the authentication error.
Definition: QXmppAuthenticationError.h:21
@ CredentialsExpired
Used credentials are not valid anymore.
Definition: QXmppAuthenticationError.h:27
@ NotAuthorized
The provided credentials have been rejected by the server.
Definition: QXmppAuthenticationError.h:23
@ AccountDisabled
The server did not allow authentication because the account is currently disabled.
Definition: QXmppAuthenticationError.h:25
@ ProcessingError
Local error while processing authentication challenges.
Definition: QXmppAuthenticationError.h:34
@ EncryptionRequired
Authentication is only allowed with an encrypted connection.
Definition: QXmppAuthenticationError.h:29
@ MechanismMismatch
Definition: QXmppAuthenticationError.h:32
@ RequiredTasks
The server requested for tasks that are not supported.
Definition: QXmppAuthenticationError.h:36