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