I am using Cakephp 2.3 I want to get the authorization header. I tried using this code:
$this->request->header('Authorization')
It does not show anything while using
$this->request->header('User-Agent')
HTTP_USER_AGENT shows the data.
Tried using the apache_request_headers()
function, here also all the headers are displayed except the Authorization header.
Am I missing something?