aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/Remote/Api/IApiFactory.php
blob: 0e95dc98e709f11480b621b18886a568a3d7c8ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?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);
}