25 private $toolProvider =
null;
34 $this->toolProvider = $toolProvider;
46 return new OAuthConsumer($this->toolProvider->consumer->getKey(), $this->toolProvider->consumer->secret);
75 $nonce =
new ConsumerNonce($this->toolProvider->consumer, $value);
76 $ok = !$nonce->load();
81 $this->toolProvider->reason =
'Invalid nonce.';
new_access_token($token, $consumer, $verifier=null)
Get new access token.
Class to represent an OAuth Consumer.
lookup_consumer($consumerKey)
Create an OAuthConsumer object for the tool consumer.
Class to represent a tool consumer nonce.
__construct($toolProvider)
Class constructor.
new_request_token($consumer, $callback=null)
Get new request token.
lookup_token($consumer, $tokenType, $token)
Create an OAuthToken object for the tool consumer.
Class to represent an OAuth Data Store.
Class to represent an OAuth Token.
lookup_nonce($consumer, $token, $value, $timestamp)
Lookup nonce value for the tool consumer.