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

Public Member Functions

 __construct (array $methods, $partial)
 
 serialize (\fpoirotte\Pssht\Wire\Encoder $encoder)
 

Static Public Member Functions

static getMessageId ()
 
static unserialize (\fpoirotte\Pssht\Wire\Decoder $decoder)
 

Protected Attributes

 $methods
 List of authentication methods that may continue.
 
 $partial
 Whether a partial success occurred.
 

Detailed Description

SSH_MSG_USERAUTH_FAILURE message (RFC 4252).

Definition at line 17 of file FAILURE.php.

Constructor & Destructor Documentation

fpoirotte\Pssht\Messages\USERAUTH\FAILURE::__construct ( array  $methods,
  $partial 
)

Construct a new SSH_MSG_USERAUTH_FAILURE message.

Parameters
array$methodsList of authentication methods that may continue.
bool$partialIndicates whether partial success was attained (true) or not (false).

Definition at line 35 of file FAILURE.php.

References fpoirotte\Pssht\Messages\USERAUTH\FAILURE\$methods, and fpoirotte\Pssht\Messages\USERAUTH\FAILURE\$partial.

Member Function Documentation

static fpoirotte\Pssht\Messages\USERAUTH\FAILURE::getMessageId ( )
static

Retrieve the message's identifier.

Return values
intMessage identifier.

Implements fpoirotte\Pssht\Messages\MessageInterface.

Definition at line 51 of file FAILURE.php.

fpoirotte\Pssht\Messages\USERAUTH\FAILURE::serialize ( \fpoirotte\Pssht\Wire\Encoder  $encoder)

Serialize the message.

Parameters
fpoirotte::Pssht::Wire::Encoder$encoderEncoder to use to perform serialization.
Return values
MessageInterfaceReturns this message.

Implements fpoirotte\Pssht\Messages\MessageInterface.

Definition at line 56 of file FAILURE.php.

static fpoirotte\Pssht\Messages\USERAUTH\FAILURE::unserialize ( \fpoirotte\Pssht\Wire\Decoder  $decoder)
static

Unserialize some data into a message.

Parameters
fpoirotte::Pssht::Wire::Decoder$decoderDecoder to use to perform unserialization.
Return values
MessageInterfaceUnserialized message.

Implements fpoirotte\Pssht\Messages\MessageInterface.

Definition at line 63 of file FAILURE.php.


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