QXmpp
Version: 1.15.1
Toggle main menu visibility
Loading...
Searching...
No Matches
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
12
namespace
QXmpp
{
13
19
struct
AuthenticationError
{
21
enum
Type
{
23
NotAuthorized
,
25
AccountDisabled
,
27
CredentialsExpired
,
29
EncryptionRequired
,
32
MechanismMismatch
,
34
ProcessingError
,
36
RequiredTasks
,
37
};
38
39
Type
type
;
41
QString
text
;
43
std::any
details
;
44
};
45
46
}
// namespace QXmpp
47
48
#endif
// QXMPPAUTHENTICATIONERROR_H
QXmpp
Definition
Algorithms.h:14
QXmpp::AuthenticationError
Definition
QXmppAuthenticationError.h:19
QXmpp::AuthenticationError::details
std::any details
Protocol-specific details provided to the error.
Definition
QXmppAuthenticationError.h:43
QXmpp::AuthenticationError::type
Type type
Type of the authentication error.
Definition
QXmppAuthenticationError.h:39
QXmpp::AuthenticationError::text
QString text
Error message from the server.
Definition
QXmppAuthenticationError.h:41
QXmpp::AuthenticationError::Type
Type
Describes the type of the authentication error.
Definition
QXmppAuthenticationError.h:21
QXmpp::AuthenticationError::CredentialsExpired
@ CredentialsExpired
Used credentials are not valid anymore.
Definition
QXmppAuthenticationError.h:27
QXmpp::AuthenticationError::NotAuthorized
@ NotAuthorized
The provided credentials have been rejected by the server.
Definition
QXmppAuthenticationError.h:23
QXmpp::AuthenticationError::AccountDisabled
@ AccountDisabled
The server did not allow authentication because the account is currently disabled.
Definition
QXmppAuthenticationError.h:25
QXmpp::AuthenticationError::ProcessingError
@ ProcessingError
Local error while processing authentication challenges.
Definition
QXmppAuthenticationError.h:34
QXmpp::AuthenticationError::EncryptionRequired
@ EncryptionRequired
Authentication is only allowed with an encrypted connection.
Definition
QXmppAuthenticationError.h:29
QXmpp::AuthenticationError::MechanismMismatch
@ MechanismMismatch
Definition
QXmppAuthenticationError.h:32
QXmpp::AuthenticationError::RequiredTasks
@ RequiredTasks
The server requested for tasks that are not supported.
Definition
QXmppAuthenticationError.h:36
src
client
QXmppAuthenticationError.h
Generated by
1.17.0