aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_external/3rdparty/icewind/smb/src/IAuth.php
blob: 46ba4b81b18af27f9accb880a61f07db5b07be50 (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
<?php
/**
 * SPDX-FileCopyrightText: 2018 Robin Appelman <robin@icewind.nl>
 * SPDX-License-Identifier: AGPL-3.0-or-later
 */

namespace Icewind\SMB;

interface IAuth {
	public function getUsername(): ?string;

	public function getWorkgroup(): ?string;

	public function getPassword(): ?string;

	/**
	 * Any extra command line option for smbclient that are required
	 *
	 * @return string
	 */
	public function getExtraCommandLineArguments(): string;

	/**
	 * Set any extra options for libsmbclient that are required
	 *
	 * @param resource $smbClientState
	 */
	public function setExtraSmbClientOptions($smbClientState): void;
}