Fix phpdoc
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
355abbc96d
commit
140e7b609f
|
@ -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;
|
||||
|
||||
/**
|
||||
* @since 14.0.0
|
||||
*/
|
||||
interface ICheckPasswordBackend {
|
||||
/**
|
||||
* @since 14.0.0
|
||||
*/
|
||||
public function checkPassword(string $loginName, string $password): string;
|
||||
}
|
||||
|
|
|
@ -24,6 +24,13 @@ declare(strict_types=1);
|
|||
|
||||
namespace OCP\User\Backend;
|
||||
|
||||
/**
|
||||
* @since 14.0.0
|
||||
*/
|
||||
interface ICountUsersBackend {
|
||||
|
||||
/**
|
||||
* @since 14.0.0
|
||||
*/
|
||||
public function countUsers(): int;
|
||||
}
|
||||
|
|
|
@ -24,6 +24,13 @@ declare(strict_types=1);
|
|||
|
||||
namespace OCP\User\Backend;
|
||||
|
||||
/**
|
||||
* @since 14.0.0
|
||||
*/
|
||||
interface ICreateUserBackend {
|
||||
|
||||
/**
|
||||
* @since 14.0.0
|
||||
*/
|
||||
public function createUser(string $uid, string $password): bool;
|
||||
}
|
||||
|
|
|
@ -24,6 +24,13 @@ declare(strict_types=1);
|
|||
|
||||
namespace OCP\User\Backend;
|
||||
|
||||
/**
|
||||
* @since 14.0.0
|
||||
*/
|
||||
interface IGetDisplayNameBackend {
|
||||
|
||||
/**
|
||||
* @since 14.0.0
|
||||
*/
|
||||
public function getDisplayName(string $uid): string;
|
||||
}
|
||||
|
|
|
@ -24,6 +24,13 @@ declare(strict_types=1);
|
|||
|
||||
namespace OCP\User\Backend;
|
||||
|
||||
/**
|
||||
* @since 14.0.0
|
||||
*/
|
||||
interface IGetHomeBackend {
|
||||
|
||||
/**
|
||||
* @since 14.0.0
|
||||
*/
|
||||
public function getHome(string $uid): string;
|
||||
}
|
||||
|
|
|
@ -24,6 +24,13 @@ declare(strict_types=1);
|
|||
|
||||
namespace OCP\User\Backend;
|
||||
|
||||
/**
|
||||
* @since 14.0.0
|
||||
*/
|
||||
interface IProvideAvatarBackend {
|
||||
|
||||
/**
|
||||
* @since 14.0.0
|
||||
*/
|
||||
public function canChangeAvatar(string $uid): bool;
|
||||
}
|
||||
|
|
|
@ -24,6 +24,13 @@ declare(strict_types=1);
|
|||
|
||||
namespace OCP\User\Backend;
|
||||
|
||||
/**
|
||||
* @since 14.0.0
|
||||
*/
|
||||
interface ISetDisplayNameBackend {
|
||||
|
||||
/**
|
||||
* @since 14.0.0
|
||||
*/
|
||||
public function setDisplayName(string $uid, string $displayName): bool;
|
||||
}
|
||||
|
|
|
@ -24,6 +24,13 @@ declare(strict_types=1);
|
|||
|
||||
namespace OCP\User\Backend;
|
||||
|
||||
/**
|
||||
* @since 14.0.0
|
||||
*/
|
||||
interface ISetPasswordBackend {
|
||||
|
||||
/**
|
||||
* @since 14.0.0
|
||||
*/
|
||||
public function setPassword(string $uid, string $password): bool;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue