From fb79350d3ea30239cc0d6db06dfbe3b7bcdbb576 Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Fri, 7 May 2021 23:11:25 +0200 Subject: [PATCH] extend AccountManager API with collection const Signed-off-by: Arthur Schiwon --- lib/public/Accounts/IAccountManager.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/public/Accounts/IAccountManager.php b/lib/public/Accounts/IAccountManager.php index 63fbc9ba31..6289792063 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 *