ftp_ansicht repariert und neues msd

This commit is contained in:
aschwarz
2023-02-11 15:24:36 +01:00
parent f104df7f3b
commit 3dcc93a65d
681 changed files with 96753 additions and 24555 deletions

View File

@ -0,0 +1,26 @@
<?php
declare(strict_types=1);
namespace League\Flysystem\PhpseclibV2;
use League\Flysystem\FilesystemException;
use RuntimeException;
class UnableToAuthenticate extends RuntimeException implements FilesystemException
{
public static function withPassword(): UnableToAuthenticate
{
return new UnableToAuthenticate('Unable to authenticate using a password.');
}
public static function withPrivateKey(): UnableToAuthenticate
{
return new UnableToAuthenticate('Unable to authenticate using a private key.');
}
public static function withSshAgent(): UnableToAuthenticate
{
return new UnableToAuthenticate('Unable to authenticate using an SSH agent.');
}
}