From: Thomas Müller Date: Wed, 2 Oct 2013 13:03:52 +0000 (+0200) Subject: fixing namespace of ApacheBackend - now know as OCP\Authentication\IApacheBackend X-Git-Tag: v6.0.0alpha2~72^2~4 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=4d4eda0f0625f2375003c434d433a08782e0a874;p=nextcloud-server.git fixing namespace of ApacheBackend - now know as OCP\Authentication\IApacheBackend --- diff --git a/lib/public/apachebackend.php b/lib/public/apachebackend.php deleted file mode 100644 index 6085714a6e9..00000000000 --- a/lib/public/apachebackend.php +++ /dev/null @@ -1,49 +0,0 @@ -. - * - */ - -namespace OCP; - -interface ApacheBackend { - - /** - * In case the user has been authorized by Apache true is returned. - * - * @return boolean whether Apache reports a user is currently logged in. - */ - public function isSessionActive(); - - /** - * Creates an attribute which is added to the logout hyperlink. It can - * supply any attribute(s) which are valid for . - * - * @return String with one or more HTML attributes. - */ - public function getLogoutAttribute(); - - /** - * Return the id of the current user - * @return string - */ - public function getCurrentUserId(); - -} diff --git a/lib/public/authentication/iapachebackend.php b/lib/public/authentication/iapachebackend.php new file mode 100644 index 00000000000..5376baf525c --- /dev/null +++ b/lib/public/authentication/iapachebackend.php @@ -0,0 +1,49 @@ +. + * + */ + +namespace OCP\Authentication; + +interface IApacheBackend { + + /** + * In case the user has been authenticated by Apache true is returned. + * + * @return boolean whether Apache reports a user as currently logged in. + */ + public function isSessionActive(); + + /** + * Creates an attribute which is added to the logout hyperlink. It can + * supply any attribute(s) which are valid for . + * + * @return string with one or more HTML attributes. + */ + public function getLogoutAttribute(); + + /** + * Return the id of the current user + * @return string + */ + public function getCurrentUserId(); + +}