Lines Matching defs:qop
83 $challenge->set('qop', $this->generateAvailableQops($options));
87 if (in_array('auth-conf', $challenge->get('qop'))) {
110 $qop = isset($options['qop']) ? (string) $options['qop'] : null;
116 $response->set('qop', $this->selectQopFromChallenge($challenge, $qop));
120 if ($response->get('qop') === 'auth-conf' && !$response->get('cipher')) {
145 $qop = ['auth'];
148 $qop[] = 'auth-int';
151 $qop[] = 'auth-conf';
154 return $qop;
160 protected function selectQopFromChallenge(Message $challenge, ?string $qop): string
162 $available = (array) ($challenge->get('qop') ?? []);
167 $options = $qop !== null ? [$qop] : ['auth-conf', 'auth-int', 'auth'];
176 'None of the qop values are recognized, or the one you selected is not available. Available methods are: %s',