Lines Matching refs:response
22 * The DIGEST-MD5 challenge / response class.
75 $response = $this->generateServerResponse($received, $options);
77 $response = $this->generateClientResponse($received, $options);
79 $this->context->setResponse($response);
97 throw new SaslException('The rspauth value was received before the response was generated.');
115 $response = $this->generateServerChallenge($options);
117 $response = $this->generateServerVerification($received, $options);
120 return $response === null ? null : $this->encoder->encode($response, $this->context);
163 $response = $this->factory->create(
166 $response->set('response', DigestMD5Mechanism::computeResponse(
169 $response,
173 # The verification is used to check the response value returned from the server for authentication.
179 $response,
186 $this->context->set('a1', hex2bin(DigestMD5Mechanism::computeA1($password, $message, $response)));
187 $this->context->set('cipher', $response->get('cipher'));
190 return $this->encoder->encode($response, $this->context);
196 # The client sent a response without us sending a challenge...
226 # Generate our own response to compare against what we received from the client. If they do not match,
229 if ($expected !== $received->get('response')) {
233 $response = DigestMD5Mechanism::computeResponse($password, $this->challenge, $received, true);
245 ['rspauth' => $response]