aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/Remote/Api/IApiFactory.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/Remote/Api/IApiFactory.php')
-rw-r--r--lib/public/Remote/Api/IApiFactory.php26
1 files changed, 26 insertions, 0 deletions
diff --git a/lib/public/Remote/Api/IApiFactory.php b/lib/public/Remote/Api/IApiFactory.php
new file mode 100644
index 00000000000..2089c61be82
--- /dev/null
+++ b/lib/public/Remote/Api/IApiFactory.php
@@ -0,0 +1,26 @@
+<?php
+
+/**
+ * SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-License-Identifier: AGPL-3.0-or-later
+ */
+namespace OCP\Remote\Api;
+
+use OCP\Remote\ICredentials;
+use OCP\Remote\IInstance;
+
+/**
+ * @since 13.0.0
+ * @deprecated 23.0.0
+ */
+interface IApiFactory {
+ /**
+ * @param IInstance $instance
+ * @param ICredentials $credentials
+ * @return IApiCollection
+ *
+ * @since 13.0.0
+ * @deprecated 23.0.0
+ */
+ public function getApiCollection(IInstance $instance, ICredentials $credentials);
+}