KD SOAP  1.10.0
KDSoapServerAuthInterface.h
1 /****************************************************************************
2 **
3 ** This file is part of the KD Soap library.
4 **
5 ** SPDX-FileCopyrightText: 2010-2020 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,
62  "com.kdab.KDSoap.ServerAuthInterface/1.0")
63 QT_END_NAMESPACE
64 
65 #endif /* KDSOAPSERVERAUTHINTERFACE_H */
Definition: KDSoapServerAuthInterface.h:35
Definition: KDSoapAuthentication.h:36

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/