diff options
author | Robin Appelman <robin@icewind.nl> | 2016-10-19 15:11:58 +0200 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2016-11-16 15:24:28 +0100 |
commit | c5df58ec69af0f8ee48543df66f61e3090bdfb17 (patch) | |
tree | eb8638327afcc235fad5555963a59a2858770b5b /lib/public | |
parent | 7e9e5db4963b2ce8e34b6b70347d9cc2dff3f88a (diff) | |
download | nextcloud-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.php | 22 |
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); } |