2017-11-02 08:40:38 -04:00
|
|
|
<?php
|
2025-06-30 09:04:05 -04:00
|
|
|
|
2017-11-02 08:40:38 -04:00
|
|
|
/**
|
2024-05-29 05:32:54 -04:00
|
|
|
* SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors
|
|
|
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
2017-11-02 08:40:38 -04:00
|
|
|
*/
|
|
|
|
|
namespace OCA\User_LDAP;
|
|
|
|
|
|
|
|
|
|
interface IGroupLDAP {
|
|
|
|
|
|
|
|
|
|
//Used by LDAPProvider
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Return access for LDAP interaction.
|
|
|
|
|
* @param string $gid
|
|
|
|
|
* @return Access instance of Access for LDAP interaction
|
|
|
|
|
*/
|
|
|
|
|
public function getLDAPAccess($gid);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Return a new LDAP connection for the specified group.
|
|
|
|
|
* @param string $gid
|
2024-04-04 10:14:06 -04:00
|
|
|
* @return \LDAP\Connection The LDAP connection
|
2017-11-02 08:40:38 -04:00
|
|
|
*/
|
|
|
|
|
public function getNewLDAPConnection($gid);
|
|
|
|
|
}
|