From 6da33e1ea7bb340e22330941d2a980a1414210b0 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Fri, 12 Dec 2014 17:25:03 +0100 Subject: introduce names for user backends - IUserBackend * LDAP with multiple servers also proved backendName --- lib/public/iuserbackend.php | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 lib/public/iuserbackend.php (limited to 'lib/public') diff --git a/lib/public/iuserbackend.php b/lib/public/iuserbackend.php new file mode 100644 index 00000000000..79b5740ee93 --- /dev/null +++ b/lib/public/iuserbackend.php @@ -0,0 +1,27 @@ + + * This file is licensed under the Affero General Public License version 3 or + * later. + * See the COPYING-README file. + */ + +/** + * Public interface of ownCloud for apps to use. + * User Interface version 2 + * + */ + +// use OCP namespace for all classes that are considered public. +// This means that they should be used by apps instead of the internal ownCloud classes +namespace OCP; + +interface IUserBackend { + + /** + * Backend name to be shown in user management + * @return string the name of the backend to be shown + */ + public function getBackendName(); + +} -- cgit v1.2.3