summaryrefslogtreecommitdiffstats
path: root/lib/public/authentication
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-04-16 17:00:08 +0200
committerMorris Jobke <hey@morrisjobke.de>2015-04-16 17:00:08 +0200
commit7644950b48b094bfe5675348aefb7cf5747d325b (patch)
treea1792e21239a86f471da99b454134a5d8533ef77 /lib/public/authentication
parent8653da6c16597959c7bd0f0b202747ff96204575 (diff)
downloadnextcloud-server-7644950b48b094bfe5675348aefb7cf5747d325b.tar.gz
nextcloud-server-7644950b48b094bfe5675348aefb7cf5747d325b.zip
Add @since tags to all methods in public namespace
* enhance the app development experience - you can look up the method introduction right inside the code without searching via git blame * easier to write apps for multiple versions
Diffstat (limited to 'lib/public/authentication')
-rw-r--r--lib/public/authentication/iapachebackend.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/public/authentication/iapachebackend.php b/lib/public/authentication/iapachebackend.php
index 343873a115c..51ca57788f3 100644
--- a/lib/public/authentication/iapachebackend.php
+++ b/lib/public/authentication/iapachebackend.php
@@ -29,12 +29,19 @@
// This means that they should be used by apps instead of the internal ownCloud classes
namespace OCP\Authentication;
+/**
+ * Interface IApacheBackend
+ *
+ * @package OCP\Authentication
+ * @since 6.0.0
+ */
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.
+ * @since 6.0.0
*/
public function isSessionActive();
@@ -43,12 +50,14 @@ interface IApacheBackend {
* supply any attribute(s) which are valid for <a>.
*
* @return string with one or more HTML attributes.
+ * @since 6.0.0
*/
public function getLogoutAttribute();
/**
* Return the id of the current user
* @return string
+ * @since 6.0.0
*/
public function getCurrentUserId();