You are here

function oauth_common_consumer_load in OAuth 1.0 7.4

Same name and namespace in other branches
  1. 6.3 oauth_common.module \oauth_common_consumer_load()
  2. 7.3 oauth_common.module \oauth_common_consumer_load()

Menu system wildcard loader for provider consumers.

Parameters

string $key:

File

./oauth_common.module, line 161

Code

function oauth_common_consumer_load($csid) {
  $consumer = DrupalOAuthConsumer::loadById($csid, TRUE);
  if (!$consumer) {
    $consumer = FALSE;
  }
  return $consumer;
}