nextcloud/lib/private/Remote/Credentials.php

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
487 B
PHP
Raw Permalink Normal View History

<?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;
}
}