public function Response::getWwwAuthenticate

Get the WWW-Authenticate HTTP header

Return value

string|null Indicates the authentication scheme that should be used to access the requested entity (e.g. Basic)

File

drupal/core/vendor/guzzle/http/Guzzle/Http/Message/Response.php, line 716

Class

Response
Guzzle HTTP response object

Namespace

Guzzle\Http\Message

Code

public function getWwwAuthenticate() {
  return $this
    ->getHeader('WWW-Authenticate', true);
}