Looks at the WWW-Authenticate. Will return array of key/values if digest.

Parameters

  • string $header value of WWW-Authenticate

Returns

array

Source

						public function digest() {
		if (empty($this->headers['WWW-Authenticate'])) {
			return array();
		}
		$auth = $this->_classes['auth'];
		return $auth::decode($this->headers['WWW-Authenticate']);
	}