You are here

function hook_feeds_oauth_authenticator in Feeds OAuth 7

Invoked during setup of the OAuth/OAuth2 fetcher to select the source of the OAuth access token. By default, Feeds OAuth provides its own authenticator which performs the standard OAuth/OAuth2 protocol.

Return value

A array of supported authenticators, where each key is the callback function of the authenticator, and the value is the name to be displayed in the OAuth fetcher's settings form. The callback is used to retrieve the access token pair at the time of actual feed retrieval.

See also

feeds_oauth_feeds_oauth_authenticator()

1 function implements hook_feeds_oauth_authenticator()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

feeds_oauth_feeds_oauth_authenticator in ./feeds_oauth.module
Implements hook_feeds_oauth_authenticator().
1 invocation of hook_feeds_oauth_authenticator()
OAuthHTTPFetcher::configForm in ./OAuthHTTPFetcher.inc
Add form options.

File

./feeds_oauth.api.php, line 28
Documentation of Feeds OAuth hooks.

Code

function hook_feeds_oauth_authenticator() {
  return array(
    'twitter_get_tokens' => 'Twitter',
  );
}