Lines Matching refs:received
50 public function challenge(?string $received = null, array $options = []): SaslContext
52 $received = ($received === null) ? null : $this->encoder->decode($received, $this->context);
54 if ($received === null) {
61 $this->validateClientResponse($received, $options);
63 $this->generateClientResponse($received, $options);
79 protected function generateClientResponse(Message $received, array $options): void
81 if (!$received->has('challenge')) {
89 'digest' => $this->generateDigest($received->get('challenge'), $options['password']),
95 protected function validateClientResponse(Message $received, array $options): void
97 if (!$received->has('username')) {
100 if (!$received->has('digest')) {
106 $username = $received->get('username');
107 $digest = $received->get('digest');