2017-11-02 08:40:38 -04:00
|
|
|
<?php
|
2025-05-28 03:50:46 -04:00
|
|
|
|
|
|
|
|
declare(strict_types=1);
|
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\Tests;
|
|
|
|
|
|
|
|
|
|
use OCA\User_LDAP\ILDAPUserPlugin;
|
|
|
|
|
|
|
|
|
|
class LDAPUserPluginDummy implements ILDAPUserPlugin {
|
|
|
|
|
public function respondToActions() {
|
|
|
|
|
return null;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public function createUser($username, $password) {
|
|
|
|
|
return null;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public function setPassword($uid, $password) {
|
|
|
|
|
return null;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public function getHome($uid) {
|
|
|
|
|
return null;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public function getDisplayName($uid) {
|
|
|
|
|
return null;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public function setDisplayName($uid, $displayName) {
|
|
|
|
|
return null;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public function canChangeAvatar($uid) {
|
|
|
|
|
return null;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public function countUsers() {
|
|
|
|
|
return null;
|
|
|
|
|
}
|
2025-05-28 03:50:46 -04:00
|
|
|
|
|
|
|
|
public function canDeleteUser() {
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public function deleteUser($uid) {
|
|
|
|
|
return null;
|
|
|
|
|
}
|
2017-11-02 08:40:38 -04:00
|
|
|
}
|