Code refactor, support multiple gateways and non-SAML authentication (#9)

* Code refactor

* Update README.md
This commit is contained in:
Kevin Yue
2020-05-23 15:51:10 +08:00
committed by GitHub
parent 76a4977e92
commit 7f5bf0ce52
30 changed files with 1665 additions and 192 deletions

View File

@@ -4,7 +4,7 @@
#include "enhancedwebview.h"
#include <QDialog>
#include <QJsonObject>
#include <QMap>
#include <QCloseEvent>
class SAMLLoginWindow : public QDialog
@@ -18,14 +18,15 @@ public:
void login(QString url, QString html = "");
signals:
void success(QJsonObject samlResult);
void success(QMap<QString, QString> samlResult);
private slots:
void onResponseReceived(QJsonObject params);
void onLoadFinished();
private:
EnhancedWebView *webView;
QJsonObject samlResult;
QMap<QString, QString> samlResult;
void closeEvent(QCloseEvent *event);
};