Extends
lithium\net\http\Message
Looks at the WWW-Authenticate. Will return array of key/values if digest.
Parameters
- string $header value of WWW-Authenticate
Returns
arraySource
public function digest() {
if (empty($this->headers['WWW-Authenticate'])) {
return array();
}
$auth = $this->_classes['auth'];
return $auth::decode($this->headers['WWW-Authenticate']);
}