nextcloud/lib/private/Remote/Credentials.php
provokateurin f12cecb684
feat(rector): Enable SafeDeclareStrictTypesRector
Signed-off-by: provokateurin <kate@provokateurin.de>
2026-02-09 10:59:31 +01:00

27 lines
487 B
PHP

<?php
declare(strict_types=1);
/**
* SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace OC\Remote;
use OCP\Remote\ICredentials;
class Credentials implements ICredentials {
public function __construct(
private string $user,
private string $password,
) {
}
public function getUsername(): string {
return $this->user;
}
public function getPassword(): string {
return $this->password;
}
}