| 1 | <?php |
||
| 10 | class SSH2Password implements SSH2AuthInterface |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var string |
||
| 14 | */ |
||
| 15 | protected $username; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @var string |
||
| 19 | */ |
||
| 20 | protected $password; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @param string $username The authentication username |
||
| 24 | * @param string $password The authentication password |
||
| 25 | */ |
||
| 26 | 5 | public function __construct($username, $password) |
|
| 31 | |||
| 32 | /** |
||
| 33 | * @override |
||
| 34 | * @inheritDoc |
||
| 35 | */ |
||
| 36 | 3 | public function authenticate($conn) |
|
| 40 | } |
||
| 41 |