Lines Matching refs:challenge
57 * @param string $challenge The digest challenge sent by the server
64 function getResponse($authcid, $pass, $challenge, $hostname, $service, $authzid = '') argument
66 $challenge = $this->_parseChallenge($challenge);
72 if (!empty($challenge)) {
75 …$response_value = $this->_getResponseValue($authcid, $pass, $challenge['realm'], $challenge['nonce…
77 if ($challenge['realm']) {
79 …onse=%s,maxbuf=%d', $authcid, $challenge['realm'], $challenge['nonce'], $cnonce, $digest_uri, $res…
81 …i="%s",response=%s,maxbuf=%d', $authcid, $challenge['nonce'], $cnonce, $digest_uri, $response_valu…
91 * @param string $challenge The digest challenge
96 function _parseChallenge($challenge) argument
99 while (preg_match('/^([a-z-]+)=("[^"]+(?<!\\\)"|[^,]+)/i', $challenge, $matches)) {
103 $challenge = substr($challenge, strlen($matches[0]) + 1);
125 $challenge = substr($challenge, strlen($matches[0]) + 1);