nextcloud/lib/private/Remote/Credentials.php
Carl Schwan fb3f9fe2de
refactor: Update repairs jobs
Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com>
2026-02-06 13:54:24 +01:00

25 lines
461 B
PHP

<?php
/**
* 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;
}
}