$authTokens = $response->getHeader('WWW-Authenticate')[0];
$explode = explode(',', $authTokens);
$realm = rtrim(str_replace('Digest realm="', '', $explode[0]), '"');
$qop = rtrim(str_replace('qop="', '', $explode[1]), '"');
$nonce = rtrim(str_replace('nonce="', '', $explode[2]), '"');
It's specific to our server though, and that's how it returns it's data, so I'm coding it like that...