summaryrefslogtreecommitdiffstats
path: root/lib/private/user/http.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/user/http.php')
-rw-r--r--lib/private/user/http.php10
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/private/user/http.php b/lib/private/user/http.php
index 617e8adb3f2..8375c4e1e22 100644
--- a/lib/private/user/http.php
+++ b/lib/private/user/http.php
@@ -24,7 +24,7 @@
/**
* user backend using http auth requests
*/
-class OC_User_HTTP extends OC_User_Backend {
+class OC_User_HTTP extends OC_User_Backend implements \OCP\IUserBackend {
/**
* split http://user@host/path into a user and url part
* @param string $url
@@ -109,4 +109,12 @@ class OC_User_HTTP extends OC_User_Backend {
return false;
}
}
+
+ /**
+ * Backend name to be shown in user management
+ * @return string the name of the backend to be shown
+ */
+ public function getBackendName(){
+ return 'HTTP';
+ }
}