You are here

public function OAuth2ServerRestfulException::getHeaders in OAuth2 Server 7

Get the associative array of headers.

Return value

array

Overrides RestfulException::getHeaders

File

plugins/authentication/OAuth2ServerRestfulAuthentication.class.php, line 64
Contains RestfulOAuth2Authentication and OAuth2ServerRestfulException.

Class

OAuth2ServerRestfulException
Adapts exceptions from OAuth2 to RESTful formats.

Code

public function getHeaders() {
  return $this->response
    ->getHttpHeaders();
}