1
0

IUser.php 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. <?php
  2. /**
  3. * SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors
  4. * SPDX-License-Identifier: AGPL-3.0-or-later
  5. */
  6. namespace OCP\Remote;
  7. /**
  8. * User info for a remote user
  9. *
  10. * @since 13.0.0
  11. * @deprecated 23.0.0
  12. */
  13. interface IUser {
  14. /**
  15. * @return string
  16. *
  17. * @since 13.0.0
  18. * @deprecated 23.0.0
  19. */
  20. public function getUserId();
  21. /**
  22. * @return string
  23. *
  24. * @since 13.0.0
  25. * @deprecated 23.0.0
  26. */
  27. public function getEmail();
  28. /**
  29. * @return string
  30. *
  31. * @since 13.0.0
  32. * @deprecated 23.0.0
  33. */
  34. public function getDisplayName();
  35. /**
  36. * @return string
  37. *
  38. * @since 13.0.0
  39. * @deprecated 23.0.0
  40. */
  41. public function getPhone();
  42. /**
  43. * @return string
  44. *
  45. * @since 13.0.0
  46. * @deprecated 23.0.0
  47. */
  48. public function getAddress();
  49. /**
  50. * @return string
  51. *
  52. * @since 13.0.0
  53. * @deprecated 23.0.0
  54. */
  55. public function getWebsite();
  56. /**
  57. * @return string
  58. *
  59. * @since 13.0.0
  60. * @deprecated 23.0.0
  61. */
  62. public function getTwitter();
  63. /**
  64. * @return string[]
  65. *
  66. * @since 13.0.0
  67. * @deprecated 23.0.0
  68. */
  69. public function getGroups();
  70. /**
  71. * @return string
  72. *
  73. * @since 13.0.0
  74. * @deprecated 23.0.0
  75. */
  76. public function getLanguage();
  77. /**
  78. * @return int
  79. *
  80. * @since 13.0.0
  81. * @deprecated 23.0.0
  82. */
  83. public function getUsedSpace();
  84. /**
  85. * @return int
  86. *
  87. * @since 13.0.0
  88. * @deprecated 23.0.0
  89. */
  90. public function getFreeSpace();
  91. /**
  92. * @return int
  93. *
  94. * @since 13.0.0
  95. * @deprecated 23.0.0
  96. */
  97. public function getTotalSpace();
  98. /**
  99. * @return int
  100. *
  101. * @since 13.0.0
  102. * @deprecated 23.0.0
  103. */
  104. public function getQuota();
  105. }