diff options
Diffstat (limited to 'lib/public/Remote/IUser.php')
-rw-r--r-- | lib/public/Remote/IUser.php | 119 |
1 files changed, 119 insertions, 0 deletions
diff --git a/lib/public/Remote/IUser.php b/lib/public/Remote/IUser.php new file mode 100644 index 00000000000..329e8876c0d --- /dev/null +++ b/lib/public/Remote/IUser.php @@ -0,0 +1,119 @@ +<?php + +/** + * SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later + */ +namespace OCP\Remote; + +/** + * User info for a remote user + * + * @since 13.0.0 + * @deprecated 23.0.0 + */ +interface IUser { + /** + * @return string + * + * @since 13.0.0 + * @deprecated 23.0.0 + */ + public function getUserId(); + + /** + * @return string + * + * @since 13.0.0 + * @deprecated 23.0.0 + */ + public function getEmail(); + + /** + * @return string + * + * @since 13.0.0 + * @deprecated 23.0.0 + */ + public function getDisplayName(); + + /** + * @return string + * + * @since 13.0.0 + * @deprecated 23.0.0 + */ + public function getPhone(); + + /** + * @return string + * + * @since 13.0.0 + * @deprecated 23.0.0 + */ + public function getAddress(); + + /** + * @return string + * + * @since 13.0.0 + * @deprecated 23.0.0 + */ + public function getWebsite(); + + /** + * @return string + * + * @since 13.0.0 + * @deprecated 23.0.0 + */ + public function getTwitter(); + + /** + * @return string[] + * + * @since 13.0.0 + * @deprecated 23.0.0 + */ + public function getGroups(); + + /** + * @return string + * + * @since 13.0.0 + * @deprecated 23.0.0 + */ + public function getLanguage(); + + /** + * @return int + * + * @since 13.0.0 + * @deprecated 23.0.0 + */ + public function getUsedSpace(); + + /** + * @return int + * + * @since 13.0.0 + * @deprecated 23.0.0 + */ + public function getFreeSpace(); + + /** + * @return int + * + * @since 13.0.0 + * @deprecated 23.0.0 + */ + public function getTotalSpace(); + + /** + * @return int + * + * @since 13.0.0 + * @deprecated 23.0.0 + */ + public function getQuota(); +} |