public function GoogleAnalyticsCounterFeed::finishAuthentication in Google Analytics Counter 8.3
Complete the authentication process.
We got here after being redirected from a successful authorization grant. Fetch the access token.
Parameters
string $client_id: Client ID for Web application from Google API Console.
string $client_secret: Client secret for Web application from Google API Console.
string $redirect_uri: Callback uri.
File
- src/GoogleAnalyticsCounterFeed.php, line 214 
Class
- GoogleAnalyticsCounterFeed
- Authorize access and request data from Google Analytics Core Reporting API.
Namespace
Drupal\google_analytics_counterCode
public function finishAuthentication($client_id, $client_secret, $redirect_uri) {
  $this
    ->fetchToken($client_id, $client_secret, $redirect_uri);
}