38 throw new \InvalidArgumentException();
41 foreach ($methods as $method) {
42 if (!is_string($method)) {
43 throw new \InvalidArgumentException();
58 $encoder->encodeNameList($this->methods);
59 $encoder->encodeBoolean($this->partial);
66 $decoder->decodeNameList(),
67 $decoder->decodeBoolean()
$methods
List of authentication methods that may continue.
static unserialize(\fpoirotte\Pssht\Wire\Decoder $decoder)
$partial
Whether a partial success occurred.
__construct(array $methods, $partial)
serialize(\fpoirotte\Pssht\Wire\Encoder $encoder)