public function GoogleAnalyticsReportsApiFeed::finishAuthentication in Google Analytics Reports 7.3
Complete the authentication process.
We got here after being redirected from a successful authorization grant. Fetch the access token
Parameters
String $client_id:
String $client_secret:
File
- google_analytics_reports_api/
google_analytics_reports_api.lib.inc, line 163 - Provides the Google Analytics Reports API Feed object type and associated methods.
Class
- GoogleAnalyticsReportsApiFeed
- GoogleAnalyticsReportsApiFeed class to authorize access to and request data from the Google Analytics Core Reporting API.
Code
public function finishAuthentication($client_id, $client_secret, $redirect_uri) {
$this
->fetchToken($client_id, $client_secret, $redirect_uri);
}