You are here

public function GoogleAnalyticsCounterAuthManager::beginGacAuthentication in Google Analytics Counter 8.3

Begin authentication to Google authentication page with the client_id.

Overrides GoogleAnalyticsCounterAuthManagerInterface::beginGacAuthentication

File

src/GoogleAnalyticsCounterAuthManager.php, line 100

Class

GoogleAnalyticsCounterAuthManager
Class GoogleAnalyticsAuthManager.

Namespace

Drupal\google_analytics_counter

Code

public function beginGacAuthentication() {
  $gafeed = new GoogleAnalyticsCounterFeed();
  $gafeed
    ->beginAuthentication($this->config
    ->get('general_settings.client_id'), $this->config
    ->get('general_settings.redirect_uri'));
}