aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/Remote/ICredentials.php
blob: efe87a350c8499b9a2eedeead0b86cce5c406393 (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
26
27
28
29
30
<?php
/**
 * SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors
 * SPDX-License-Identifier: AGPL-3.0-or-later
 */
namespace OCP\Remote;

/**
 * The credentials for a remote user
 *
 * @since 13.0.0
 * @deprecated 23.0.0
 */
interface ICredentials {
	/**
	 * @return string
	 *
	 * @since 13.0.0
	 * @deprecated 23.0.0
	 */
	public function getUsername();

	/**
	 * @return string
	 *
	 * @since 13.0.0
	 * @deprecated 23.0.0
	 */
	public function getPassword();
}