You are here

public function OAuth2HTTPSFetcher::configDefaults in Feeds OAuth 6

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

Declare defaults.

Overrides FeedsHTTPFetcher::configDefaults

File

./OAuth2HTTPSFetcher.inc, line 72

Class

OAuth2HTTPSFetcher
Support OAuth 2.0 authentication.

Code

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