pssht
latest
SSH server library written in PHP
|
Public Member Functions | |
__construct (\fpoirotte\Pssht\Handlers\USERAUTH\REQUEST $methods) | |
handle ($msgType,\fpoirotte\Pssht\Wire\Decoder $decoder,\fpoirotte\Pssht\Transport $transport, array &$context) | |
Protected Attributes | |
$userAuthRequestHandler | |
User authentication request handler. | |
Handler for SSH_MSG_SERVICE_REQUEST messages.
Definition at line 19 of file REQUEST.php.
fpoirotte\Pssht\Handlers\SERVICE\REQUEST::__construct | ( | \fpoirotte\Pssht\Handlers\USERAUTH\REQUEST | $methods | ) |
Construct a new handler for SSH_MSG_SERVICE_REQUEST messages.
fpoirotte::Pssht::Handlers::USERAUTH::REQUEST | $methods | User authentication request handler. |
Definition at line 30 of file REQUEST.php.
fpoirotte\Pssht\Handlers\SERVICE\REQUEST::handle | ( | $msgType, | |
\fpoirotte\Pssht\Wire\Decoder | $decoder, | ||
\fpoirotte\Pssht\Transport | $transport, | ||
array & | $context | ||
) |
Handle an SSH message.
int | $msgType | Message identifier. |
fpoirotte::Pssht::Wire::Decoder | $decoder | Decoder for the message. |
fpoirotte::Pssht::Transport | $transport | Transport layer the message was received from. |
array | $context | Context for the SSH connection. |
Implements fpoirotte\Pssht\Handlers\HandlerInterface.
Definition at line 36 of file REQUEST.php.
References fpoirotte\Pssht\Messages\USERAUTH\REQUEST\Base\getMessageId(), fpoirotte\Pssht\Messages\DISCONNECT\SSH_DISCONNECT_SERVICE_NOT_AVAILABLE, and fpoirotte\Pssht\Messages\SERVICE\Base\unserialize().