Fix the clientos param (#87)

* fix the clientos param

* fix the clientos param
This commit is contained in:
Kevin Yue
2021-09-04 18:56:17 +08:00
committed by GitHub
parent 64e6487e7e
commit 6fa77cdbd2
6 changed files with 35 additions and 36 deletions

View File

@@ -10,7 +10,7 @@ class GatewayAuthenticator : public QObject
{
Q_OBJECT
public:
explicit GatewayAuthenticator(const QString& gateway, const GatewayAuthenticatorParams& params);
explicit GatewayAuthenticator(const QString& gateway, const GatewayAuthenticatorParams params);
~GatewayAuthenticator();
void authenticate();
@@ -30,13 +30,13 @@ private slots:
private:
QString gateway;
const GatewayAuthenticatorParams& params;
const GatewayAuthenticatorParams params;
QString preloginUrl;
QString loginUrl;
NormalLoginWindow *normalLoginWindow{ nullptr };
void login(const LoginParams& params);
void login(const LoginParams& loginParams);
void doAuth();
void normalAuth(QString labelUsername, QString labelPassword, QString authMessage);
void samlAuth(QString samlMethod, QString samlRequest, QString preloginUrl = "");