KD SOAP  2.0.0
KDSoapServerAuthInterface.h
1 /****************************************************************************
2 **
3 ** This file is part of the KD Soap library.
4 **
5 ** SPDX-FileCopyrightText: 2010-2022 Klarälvdalens Datakonsult AB, a KDAB Group company <info@kdab.com>
6 **
7 ** SPDX-License-Identifier: LicenseRef-KDAB-KDSoap-AGPL3-Modified OR LicenseRef-KDAB-KDSoap OR LicenseRef-KDAB-KDSoap-US
8 **
9 ** Licensees holding valid commercial KD Soap licenses may use this file in
10 ** accordance with the KD Soap Commercial License Agreement provided with
11 ** the Software.
12 **
13 ** Contact info@kdab.com if any conditions of this licensing are not clear to you.
14 **
15 ****************************************************************************/
16 #ifndef KDSOAPSERVERAUTHINTERFACE_H
17 #define KDSOAPSERVERAUTHINTERFACE_H
18 
19 #include "KDSoapServerGlobal.h"
20 #include <QtCore/QObject>
22 class KDSoapServerSocket;
23 
35 class KDSOAPSERVER_EXPORT KDSoapServerAuthInterface
36 {
37 public:
42 
46  virtual ~KDSoapServerAuthInterface();
47 
51  virtual bool validateAuthentication(const KDSoapAuthentication &auth, const QString &path);
52 
53 private:
54  friend class KDSoapServerSocket;
55  bool handleHttpAuth(const QByteArray &authValue, const QString &path);
56  class Private;
57  Private *const d;
58 };
59 
60 QT_BEGIN_NAMESPACE
61 Q_DECLARE_INTERFACE(KDSoapServerAuthInterface, "com.kdab.KDSoap.ServerAuthInterface/1.0")
62 QT_END_NAMESPACE
63 
64 #endif /* KDSOAPSERVERAUTHINTERFACE_H */
KDSoapAuthentication
Definition: KDSoapAuthentication.h:37
QString
KDSoapServerAuthInterface
Definition: KDSoapServerAuthInterface.h:36
QByteArray

© 2010-2022 Klarälvdalens Datakonsult AB (KDAB)
"The Qt, C++ and OpenGL Experts"
https://www.kdab.com/
https://www.kdab.com/development-resources/qt-tools/kd-soap/
Generated on Fri Jul 22 2022 15:57:43 for KD SOAP by doxygen 1.8.20