示例#1
0
 /**
  * Returns the parsed HTTP Authorization request header as an array.
  *
  * @see DrupalClient::getServerAuthentication().
  * @return array
  *   The authentication header
  */
 public function getRestOAuthHeader()
 {
     $header =& drupal_static(__FUNCTION__);
     if (isset($header)) {
         return $header;
     }
     $header = DrupalClient::getServerAuthentication();
     return $header;
 }