diff options
| author | Juha Vuolle <juha.vuolle@qt.io> | 2024-10-07 11:21:05 +0300 |
|---|---|---|
| committer | Juha Vuolle <juha.vuolle@qt.io> | 2024-11-14 15:14:37 +0200 |
| commit | 741fd2b1cef4159aabbc90a870adf7450945eeac (patch) | |
| tree | 81de792376ddacc8bacdffbadde112c175891a7e /src/oauth/qoauthhttpserverreplyhandler.h | |
| parent | ea2787daf64a37d68606ac4ed54ea100af9a0147 (diff) | |
Add https support to QOAuthHttpServerReplyHandler
[ChangeLog][QOAuthHttpServerReplyHandler] Added support
for https localhost server
Fixes: QTBUG-64615
Change-Id: Ic28c74bb382642077e791ea1e6cd0b3ed9ee2264
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
Diffstat (limited to 'src/oauth/qoauthhttpserverreplyhandler.h')
| -rw-r--r-- | src/oauth/qoauthhttpserverreplyhandler.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/oauth/qoauthhttpserverreplyhandler.h b/src/oauth/qoauthhttpserverreplyhandler.h index 602457b..5a77081 100644 --- a/src/oauth/qoauthhttpserverreplyhandler.h +++ b/src/oauth/qoauthhttpserverreplyhandler.h @@ -10,6 +10,9 @@ #include <QtNetworkAuth/qoauthoobreplyhandler.h> #include <QtNetwork/qhostaddress.h> +#ifndef QT_NO_SSL +#include <QtNetwork/qsslconfiguration.h> +#endif QT_BEGIN_NAMESPACE @@ -38,6 +41,10 @@ public: quint16 port() const; bool listen(const QHostAddress &address = QHostAddress::Any, quint16 port = 0); +#ifndef QT_NO_SSL + bool listen(const QSslConfiguration &configuration, + const QHostAddress &address = QHostAddress::Any, quint16 port = 0); +#endif void close(); bool isListening() const; |
