summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2021-05-07 23:11:25 +0200
committerArthur Schiwon <blizzz@arthur-schiwon.de>2021-06-03 20:49:42 +0200
commitfb79350d3ea30239cc0d6db06dfbe3b7bcdbb576 (patch)
tree074035f698ce71aec3628d79861476f03864a13a /lib
parent188bc078693a160d44283e735268b38c3042d7a5 (diff)
downloadnextcloud-server-fb79350d3ea30239cc0d6db06dfbe3b7bcdbb576.tar.gz
nextcloud-server-fb79350d3ea30239cc0d6db06dfbe3b7bcdbb576.zip
extend AccountManager API with collection const
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'lib')
-rw-r--r--lib/public/Accounts/IAccountManager.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/public/Accounts/IAccountManager.php b/lib/public/Accounts/IAccountManager.php
index 63fbc9ba312..62897920639 100644
--- a/lib/public/Accounts/IAccountManager.php
+++ b/lib/public/Accounts/IAccountManager.php
@@ -96,6 +96,8 @@ interface IAccountManager {
public const PROPERTY_ADDRESS = 'address';
public const PROPERTY_TWITTER = 'twitter';
+ public const COLLECTION_EMAIL = 'additional_mail';
+
public const NOT_VERIFIED = '0';
public const VERIFICATION_IN_PROGRESS = '1';
public const VERIFIED = '2';
@@ -123,7 +125,10 @@ interface IAccountManager {
/**
* Search for users based on account data
*
- * @param string $property
+ * @param string $property - property or property collection name – since
+ * NC 22 the implementation MAY add a fitting property collection into the
+ * search even if a property name was given e.g. email property and email
+ * collection)
* @param string[] $values
* @return array
*