You are here

public function OAuthHTTPFetcher::configDefaults in Feeds OAuth 6

Same name and namespace in other branches
  1. 7 OAuthHTTPFetcher.inc \OAuthHTTPFetcher::configDefaults()

Declare defaults.

Overrides FeedsHTTPFetcher::configDefaults

File

./OAuthHTTPFetcher.inc, line 66

Class

OAuthHTTPFetcher
Support OAuth authentication.

Code

public function configDefaults() {
  return array(
    'authenticator' => 'feeds_oauth_get_tokens',
    'site_id' => '',
    'consumer_key' => '',
    'consumer_secret' => '',
    'request_token_url' => '',
    'access_token_url' => '',
    'authorize_url' => '',
  ) + parent::configDefaults();
}