summaryrefslogtreecommitdiffstats
path: root/src/global.h
diff options
context:
space:
mode:
authorSimon Rettberg2024-05-13 16:53:02 +0200
committerSimon Rettberg2024-05-13 16:53:02 +0200
commit1f49778cb04027b5b0d043f95561cb44c69b80f3 (patch)
tree2140f6fd1e26ef89316c5f636e9dd77b0c7411df /src/global.h
parentHandle cow-token on QRCode login (diff)
downloadslxgreeter-master.tar.gz
slxgreeter-master.tar.xz
slxgreeter-master.zip
Support cow-token in browser-login modeHEADmaster
Diffstat (limited to 'src/global.h')
-rw-r--r--src/global.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/global.h b/src/global.h
index bdc79cd..d581c07 100644
--- a/src/global.h
+++ b/src/global.h
@@ -52,6 +52,10 @@ public:
static QStringList urlBlacklist();
+ static void writeCowToken(const QString &user, const QString &token);
+
+ static bool isValidShibCreds(const QString &ustr, const QString &upass);
+
private:
static bool m_testMode;
static QLightDM::Greeter *m_Greeter;