extend AccountManager API with collection const

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
Arthur Schiwon 2021-05-07 23:11:25 +02:00
parent 188bc07869
commit fb79350d3e
No known key found for this signature in database
GPG Key ID: 7424F1874854DF23
1 changed files with 6 additions and 1 deletions

View File

@ -96,6 +96,8 @@ interface IAccountManager {
public const PROPERTY_ADDRESS = 'address'; public const PROPERTY_ADDRESS = 'address';
public const PROPERTY_TWITTER = 'twitter'; public const PROPERTY_TWITTER = 'twitter';
public const COLLECTION_EMAIL = 'additional_mail';
public const NOT_VERIFIED = '0'; public const NOT_VERIFIED = '0';
public const VERIFICATION_IN_PROGRESS = '1'; public const VERIFICATION_IN_PROGRESS = '1';
public const VERIFIED = '2'; public const VERIFIED = '2';
@ -123,7 +125,10 @@ interface IAccountManager {
/** /**
* Search for users based on account data * 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 * @param string[] $values
* @return array * @return array
* *