public function GAFeed::revokeToken in Google Analytics Counter 7.2
Revoke OAuth token.
File
- ./
GAFeed.lib.inc, line 156 - Provides the GAFeed object type and associated methods.
Class
- GAFeed
- GAFeed class to authorize access to and request data from the Google Analytics Data Export API.
Code
public function revokeToken() {
$this
->setHost($this->oAuthHost);
$this
->setQueryPath('accounts/AuthSubRevokeToken');
$this
->query($this->queryPath, array(), 'GET', array(
'refresh' => TRUE,
));
}