Browse Source
introduce names for user backends - IUserBackend
introduce names for user backends - IUserBackend
* LDAP with multiple servers also proved backendNameremotes/origin/fix-10825
11 changed files with 105 additions and 11 deletions
-
11apps/user_ldap/user_ldap.php
-
10apps/user_ldap/user_proxy.php
-
10apps/user_webdavauth/user_webdavauth.php
-
10lib/private/user/database.php
-
10lib/private/user/dummy.php
-
10lib/private/user/http.php
-
11lib/private/user/manager.php
-
3lib/private/user/user.php
-
27lib/public/iuserbackend.php
-
10tests/lib/user/manager.php
-
4tests/lib/user/user.php
@ -0,0 +1,27 @@ |
|||
<?php |
|||
/** |
|||
* Copyright (c) 2014 Morris Jobke <hey@morrisjobke.de> |
|||
* 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(); |
|||
|
|||
} |
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue