summaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2016-10-19 15:11:58 +0200
committerRobin Appelman <robin@icewind.nl>2016-11-16 15:24:28 +0100
commitc5df58ec69af0f8ee48543df66f61e3090bdfb17 (patch)
treeeb8638327afcc235fad5555963a59a2858770b5b /lib/public
parent7e9e5db4963b2ce8e34b6b70347d9cc2dff3f88a (diff)
downloadnextcloud-server-c5df58ec69af0f8ee48543df66f61e3090bdfb17.tar.gz
nextcloud-server-c5df58ec69af0f8ee48543df66f61e3090bdfb17.zip
phpdoc
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib/public')
-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);
}