diff options
author | Simon Rettberg | 2024-05-13 16:53:02 +0200 |
---|---|---|
committer | Simon Rettberg | 2024-05-13 16:53:02 +0200 |
commit | 1f49778cb04027b5b0d043f95561cb44c69b80f3 (patch) | |
tree | 2140f6fd1e26ef89316c5f636e9dd77b0c7411df /src/global.h | |
parent | Handle cow-token on QRCode login (diff) | |
download | slxgreeter-1f49778cb04027b5b0d043f95561cb44c69b80f3.tar.gz slxgreeter-1f49778cb04027b5b0d043f95561cb44c69b80f3.tar.xz slxgreeter-1f49778cb04027b5b0d043f95561cb44c69b80f3.zip |
Diffstat (limited to 'src/global.h')
-rw-r--r-- | src/global.h | 4 |
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; |