summaryrefslogtreecommitdiffstats
path: root/lib/public/User
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/User')
-rw-r--r--lib/public/User/Backend/AbstractBackend.php7
-rw-r--r--lib/public/User/Backend/ICheckPasswordBackend.php6
-rw-r--r--lib/public/User/Backend/ICountUsersBackend.php7
-rw-r--r--lib/public/User/Backend/ICreateUserBackend.php7
-rw-r--r--lib/public/User/Backend/IGetDisplayNameBackend.php7
-rw-r--r--lib/public/User/Backend/IGetHomeBackend.php7
-rw-r--r--lib/public/User/Backend/IProvideAvatarBackend.php7
-rw-r--r--lib/public/User/Backend/ISetDisplayNameBackend.php7
-rw-r--r--lib/public/User/Backend/ISetPasswordBackend.php7
9 files changed, 62 insertions, 0 deletions
diff --git a/lib/public/User/Backend/AbstractBackend.php b/lib/public/User/Backend/AbstractBackend.php
index 4ad3b150420..7fa7baf5cd9 100644
--- a/lib/public/User/Backend/AbstractBackend.php
+++ b/lib/public/User/Backend/AbstractBackend.php
@@ -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;
diff --git a/lib/public/User/Backend/ICheckPasswordBackend.php b/lib/public/User/Backend/ICheckPasswordBackend.php
index 819a60bdc7d..62a7f6e27c4 100644
--- a/lib/public/User/Backend/ICheckPasswordBackend.php
+++ b/lib/public/User/Backend/ICheckPasswordBackend.php
@@ -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;
}
diff --git a/lib/public/User/Backend/ICountUsersBackend.php b/lib/public/User/Backend/ICountUsersBackend.php
index 506eddffcca..c7f6a102b74 100644
--- a/lib/public/User/Backend/ICountUsersBackend.php
+++ b/lib/public/User/Backend/ICountUsersBackend.php
@@ -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;
}
diff --git a/lib/public/User/Backend/ICreateUserBackend.php b/lib/public/User/Backend/ICreateUserBackend.php
index dec56d8808c..d3454c613c1 100644
--- a/lib/public/User/Backend/ICreateUserBackend.php
+++ b/lib/public/User/Backend/ICreateUserBackend.php
@@ -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;
}
diff --git a/lib/public/User/Backend/IGetDisplayNameBackend.php b/lib/public/User/Backend/IGetDisplayNameBackend.php
index 71c1635fc3e..403f5afce53 100644
--- a/lib/public/User/Backend/IGetDisplayNameBackend.php
+++ b/lib/public/User/Backend/IGetDisplayNameBackend.php
@@ -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;
}
diff --git a/lib/public/User/Backend/IGetHomeBackend.php b/lib/public/User/Backend/IGetHomeBackend.php
index a16c6eaba27..3f19c1246a8 100644
--- a/lib/public/User/Backend/IGetHomeBackend.php
+++ b/lib/public/User/Backend/IGetHomeBackend.php
@@ -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;
}
diff --git a/lib/public/User/Backend/IProvideAvatarBackend.php b/lib/public/User/Backend/IProvideAvatarBackend.php
index fa375932512..9aefda0e272 100644
--- a/lib/public/User/Backend/IProvideAvatarBackend.php
+++ b/lib/public/User/Backend/IProvideAvatarBackend.php
@@ -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;
}
diff --git a/lib/public/User/Backend/ISetDisplayNameBackend.php b/lib/public/User/Backend/ISetDisplayNameBackend.php
index 24b8316392c..23f8478282d 100644
--- a/lib/public/User/Backend/ISetDisplayNameBackend.php
+++ b/lib/public/User/Backend/ISetDisplayNameBackend.php
@@ -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;
}
diff --git a/lib/public/User/Backend/ISetPasswordBackend.php b/lib/public/User/Backend/ISetPasswordBackend.php
index 42affcc245e..ec008b33a5a 100644
--- a/lib/public/User/Backend/ISetPasswordBackend.php
+++ b/lib/public/User/Backend/ISetPasswordBackend.php
@@ -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;
}