aboutsummaryrefslogtreecommitdiff
path: root/Psso/AuthInterface
diff options
context:
space:
mode:
authorwinter Sparkles2026-08-09 02:26:33 +0100
committerwinter Sparkles2026-08-09 02:26:33 +0100
commit3354d45762bbe0db33e3d26d8997e6f6624f24d7 (patch)
tree4bef4bf59488f443ed54ff6e30002268836ac259 /Psso/AuthInterface
parent4bb659e1f7bb5850db5695a536428a9b71e3ffe5 (diff)
implement sessions and also log in/out
session data is stored in sqlite, not using php sessions
Diffstat (limited to 'Psso/AuthInterface')
-rw-r--r--Psso/AuthInterface/UserExists.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/Psso/AuthInterface/UserExists.php b/Psso/AuthInterface/UserExists.php
new file mode 100644
index 0000000..a75d5c6
--- /dev/null
+++ b/Psso/AuthInterface/UserExists.php
@@ -0,0 +1,6 @@
+<?php
+namespace Psso\AuthInterface;
+
+interface UserExists {
+ public function userExists(string $username): bool;
+}