summaryrefslogtreecommitdiffstats
path: root/lib/public/Lockdown
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/Lockdown')
-rw-r--r--lib/public/Lockdown/ILockdownManager.php22
1 files changed, 20 insertions, 2 deletions
diff --git a/lib/public/Lockdown/ILockdownManager.php b/lib/public/Lockdown/ILockdownManager.php
index 0b0c525501e..d4d05b37ff8 100644
--- a/lib/public/Lockdown/ILockdownManager.php
+++ b/lib/public/Lockdown/ILockdownManager.php
@@ -21,12 +21,30 @@ namespace OCP\Lockdown;
use OC\Authentication\Token\IToken;
+/**
+ * @since 9.2
+ */
interface ILockdownManager {
+ /**
+ * Enable the lockdown restrictions
+ *
+ * @since 9.2
+ */
public function enable();
+ /**
+ * Set the active token to get the restrictions from and enable the lockdown
+ *
+ * @param IToken $token
+ * @since 9.2
+ */
public function setToken(IToken $token);
+ /**
+ * Check whether or not filesystem access is allowed
+ *
+ * @return bool
+ * @since 9.2
+ */
public function canAccessFilesystem();
-
- public function canAccessApp($app);
}