You are here

public function GoogleAnalyticsReportsApiFeed::isAuthenticated in Google Analytics Reports 7.3

Check if object is authenticated with Google.

File

google_analytics_reports_api/google_analytics_reports_api.lib.inc, line 59
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 isAuthenticated() {
  return !empty($this->accessToken);
}