pssht  latest
SSH server library written in PHP
fpoirotte\Pssht\Handlers\USERAUTH\REQUEST Class Reference
+ Inheritance diagram for fpoirotte\Pssht\Handlers\USERAUTH\REQUEST:

Public Member Functions

 __construct (array $methods)
 
 handle ($msgType,\fpoirotte\Pssht\Wire\Decoder $decoder,\fpoirotte\Pssht\Transport $transport, array &$context)
 

Protected Member Functions

 failure (\fpoirotte\Pssht\Transport $transport, array &$context, $partial=false)
 

Protected Attributes

 $connection
 Connection layer.
 
 $methods
 Allowed authentication methods.
 

Detailed Description

Handler for SSH_MSG_USERAUTH_REQUEST messages.

Definition at line 20 of file REQUEST.php.

Constructor & Destructor Documentation

fpoirotte\Pssht\Handlers\USERAUTH\REQUEST::__construct ( array  $methods)

Construct a new handler for SSH_MSG_USERAUTH_REQUEST messages.

Parameters
array$methodsAllowed authentication methods.

Definition at line 34 of file REQUEST.php.

Member Function Documentation

fpoirotte\Pssht\Handlers\USERAUTH\REQUEST::failure ( \fpoirotte\Pssht\Transport  $transport,
array &  $context,
  $partial = false 
)
protected

Report an authentication failure.

Parameters
fpoirotte::Pssht::Transport$transportTransport layer used to report the failure.
array&$contextSSH session context (containing authentication methods that may continue).
bool$partial(optional) Indicates whether the request ended with a partial success (true) or not (false). If omitted, false is implied.
Return values
trueThis method always returns true.

Definition at line 165 of file REQUEST.php.

Referenced by fpoirotte\Pssht\Handlers\USERAUTH\REQUEST\handle().


The documentation for this class was generated from the following file: