protected function gapi::generateAuthHeader in Google Analytics Statistics 7
Same name and namespace in other branches
- 7.x inc/gapi.class.php \gapi::generateAuthHeader()
Generate authentication token header for all requests
Return value
Array
2 calls to gapi::generateAuthHeader()
- gapi::requestAccountData in includes/
gapi.class.php - Request account data from Google Analytics
- gapi::requestReportData in includes/
gapi.class.php - Request report data from Google Analytics
File
- includes/
gapi.class.php, line 442
Class
- gapi
- GAPI - Google Analytics PHP Interface
Code
protected function generateAuthHeader() {
return array(
'Authorization: GoogleLogin auth=' . $this->auth_token,
);
}