summaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-08-26 18:50:52 +0200
committerGitHub <noreply@github.com>2017-08-26 18:50:52 +0200
commit0b652648cc698d3b5c2979ccb7f1d1544057294d (patch)
tree43e49602aee82520f57690bb952510b99466782d /lib/public
parent2966b503ba9eac0ff1becdeb014cf8ecc0b3660a (diff)
parent2e4cd445564ba4882ab239bbfd82b6aa800436e3 (diff)
downloadnextcloud-server-0b652648cc698d3b5c2979ccb7f1d1544057294d.tar.gz
nextcloud-server-0b652648cc698d3b5c2979ccb7f1d1544057294d.zip
Merge pull request #6177 from nextcloud/properly-add-slo-url
Properly allow \OCP\Authentication\IApacheBackend to specify logout URL
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/Authentication/IApacheBackend.php13
1 files changed, 6 insertions, 7 deletions
diff --git a/lib/public/Authentication/IApacheBackend.php b/lib/public/Authentication/IApacheBackend.php
index 908bc5ace3d..7d43d438cbb 100644
--- a/lib/public/Authentication/IApacheBackend.php
+++ b/lib/public/Authentication/IApacheBackend.php
@@ -39,21 +39,20 @@ namespace OCP\Authentication;
interface IApacheBackend {
/**
- * In case the user has been authenticated by Apache true is returned.
+ * In case the user has been authenticated by a module true is returned.
*
- * @return boolean whether Apache reports a user as currently logged in.
+ * @return boolean whether the module reports a user as currently logged in.
* @since 6.0.0
*/
public function isSessionActive();
/**
- * Creates an attribute which is added to the logout hyperlink. It can
- * supply any attribute(s) which are valid for <a>.
+ * Gets the current logout URL
*
- * @return string with one or more HTML attributes.
- * @since 6.0.0
+ * @return string
+ * @since 12.0.3
*/
- public function getLogoutAttribute();
+ public function getLogoutUrl();
/**
* Return the id of the current user