Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
@ -28,7 +28,14 @@ use OC\User\Backend;
use OCP\IUserBackend;
use OCP\UserInterface;
/**
* @since 14.0.0
*/
abstract class AbstractBackend implements IUserBackend, UserInterface {
* @deprecated 14.0.0
public function implementsActions($actions): bool {
$implements = 0;
@ -24,6 +24,12 @@ declare(strict_types=1);
namespace OCP\User\Backend;
interface ICheckPasswordBackend {
public function checkPassword(string $loginName, string $password): string;
}
@ -24,6 +24,13 @@ declare(strict_types=1);
interface ICountUsersBackend {
public function countUsers(): int;
interface ICreateUserBackend {
public function createUser(string $uid, string $password): bool;
interface IGetDisplayNameBackend {
public function getDisplayName(string $uid): string;
interface IGetHomeBackend {
public function getHome(string $uid): string;
interface IProvideAvatarBackend {
public function canChangeAvatar(string $uid): bool;
interface ISetDisplayNameBackend {
public function setDisplayName(string $uid, string $displayName): bool;
interface ISetPasswordBackend {
public function setPassword(string $uid, string $password): bool;