1
0

IApiFactory.php 523 B

12345678910111213141516171819202122232425
  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\Api;
  7. use OCP\Remote\ICredentials;
  8. use OCP\Remote\IInstance;
  9. /**
  10. * @since 13.0.0
  11. * @deprecated 23.0.0
  12. */
  13. interface IApiFactory {
  14. /**
  15. * @param IInstance $instance
  16. * @param ICredentials $credentials
  17. * @return IApiCollection
  18. *
  19. * @since 13.0.0
  20. * @deprecated 23.0.0
  21. */
  22. public function getApiCollection(IInstance $instance, ICredentials $credentials);
  23. }