Lines Matching defs:response
81 * Generates the computed response value. RFC2831 2.1.2.1
100 public static function computeResponse(string $password, Message $challenge, Message $response, bool $useServerMode = false): string
102 $a1 = self::computeA1($password, $challenge, $response);
104 $qop = $response->get('qop');
105 $digestUri = $response->get('digest-uri');
121 str_pad(dechex($response->get('nc')), 8, '0', STR_PAD_LEFT),
122 $response->get('cnonce'),
123 $response->get('qop'),
140 public static function computeA1(string $password, Message $challenge, Message $response): string
144 $response->get('username'),
145 $response->get('realm'),
152 $response->get('cnonce')
154 if ($response->has('authzid')) {
155 $a1 .= ':' . $response->get('authzid');