diff options
author | Julius Härtl <jus@bitgrid.net> | 2021-04-01 08:05:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-01 08:05:54 +0200 |
commit | bbc64cfabce08d96ebd70dc3b7fc58313b1ecfaa (patch) | |
tree | 72d8f04bd22ced793cb91480cb75831ad1e644f6 /lib/public | |
parent | f016cbe91471007aaae72f3f42a966f1b7c75c77 (diff) | |
parent | fcedbc85d08f66b296416b00774d8a3ca3ba5257 (diff) | |
download | nextcloud-server-bbc64cfabce08d96ebd70dc3b7fc58313b1ecfaa.tar.gz nextcloud-server-bbc64cfabce08d96ebd70dc3b7fc58313b1ecfaa.zip |
Merge pull request #26394 from nextcloud/feature/noid/updatable-account-data
Allow apps to write/update account data
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/Accounts/IAccountManager.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/public/Accounts/IAccountManager.php b/lib/public/Accounts/IAccountManager.php index e88fd32f674..63fbc9ba312 100644 --- a/lib/public/Accounts/IAccountManager.php +++ b/lib/public/Accounts/IAccountManager.php @@ -111,6 +111,16 @@ interface IAccountManager { public function getAccount(IUser $user): IAccount; /** + * Update the account data with for the user + * + * @since 21.0.1 + * + * @param IAccount $account + * @throws \InvalidArgumentException Message is the property that was invalid + */ + public function updateAccount(IAccount $account): void; + + /** * Search for users based on account data * * @param string $property |