about summary refs log tree commit diff stats
path: root/classes/AuthRequired.php
diff options
context:
space:
mode:
authorAndrew Dolgov <fox@fakecake.org>2026-05-26 09:26:24 +0300
committerAndrew Dolgov <fox@fakecake.org>2026-05-26 09:26:24 +0300
commit704db45abb32fe2c8f0fa83de67541aa6668c8e8 (patch)
tree7c0d36642bdb78442068a8dcb83d5af672a09ac6 /classes/AuthRequired.php
parentbce655ba8a5ba4727f9c4ee11c5fefa07dd479fc (diff)
downloadthe-epube-704db45abb32fe2c8f0fa83de67541aa6668c8e8.tar.gz
the-epube-704db45abb32fe2c8f0fa83de67541aa6668c8e8.tar.xz
add support for public backend methods
Diffstat (limited to 'classes/AuthRequired.php')
-rw-r--r--classes/AuthRequired.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/classes/AuthRequired.php b/classes/AuthRequired.php
new file mode 100644
index 0000000..2f5b85a
--- /dev/null
+++ b/classes/AuthRequired.php
@@ -0,0 +1,10 @@
+<?php
+
+/**
+ * Marker interface for handlers that require an authenticated session.
+ * Handlers that do NOT implement this interface will be accessible
+ * without authentication (public endpoints).
+ */
+interface AuthRequired
+{
+}