You are here

interface GoogleAnalyticsCounterAuthManagerInterface in Google Analytics Counter 8.3

Class GoogleAnalyticsAuthManager.

Sets the auth methods.

@package Drupal\google_analytics_counter

Hierarchy

Expanded class hierarchy of GoogleAnalyticsCounterAuthManagerInterface

All classes that implement GoogleAnalyticsCounterAuthManagerInterface

3 files declare their use of GoogleAnalyticsCounterAuthManagerInterface
GoogleAnalyticsCounterAuthForm.php in src/Form/GoogleAnalyticsCounterAuthForm.php
GoogleAnalyticsCounterController.php in src/Controller/GoogleAnalyticsCounterController.php
GoogleAnalyticsCounterSettingsForm.php in src/Form/GoogleAnalyticsCounterSettingsForm.php

File

src/GoogleAnalyticsCounterAuthManagerInterface.php, line 13

Namespace

Drupal\google_analytics_counter
View source
interface GoogleAnalyticsCounterAuthManagerInterface {

  /**
   * Check to make sure we are authenticated with google.
   *
   * @return bool
   *   True if there is a refresh token set.
   */
  public function isAuthenticated();

  /**
   * Begin authentication to Google authentication page with the client_id.
   */
  public function beginGacAuthentication();

  /**
   * Instantiate a new GoogleAnalyticsCounterFeed object.
   *
   * @return object
   *   GoogleAnalyticsCounterFeed object to authorize access and request data
   *   from the Google Analytics Core Reporting API.
   */
  public function newGaFeed();

  /**
   * Get the list of available web properties.
   *
   * @return array
   *   Array of options.
   */
  public function getWebPropertiesOptions();

}

Members

Namesort descending Modifiers Type Description Overrides
GoogleAnalyticsCounterAuthManagerInterface::beginGacAuthentication public function Begin authentication to Google authentication page with the client_id. 1
GoogleAnalyticsCounterAuthManagerInterface::getWebPropertiesOptions public function Get the list of available web properties. 1
GoogleAnalyticsCounterAuthManagerInterface::isAuthenticated public function Check to make sure we are authenticated with google. 1
GoogleAnalyticsCounterAuthManagerInterface::newGaFeed public function Instantiate a new GoogleAnalyticsCounterFeed object. 1