27 private $system =
null;
36 $this->system = $system;
48 $key = $this->system->getKey();
51 $secret = $this->system->secret;
52 } elseif (($this->system instanceof
Tool) && !empty($this->system->platform)) {
53 $key = $this->system->platform->getKey();
54 $secret = $this->system->platform->secret;
59 if ($key !== $consumerKey) {
92 if ($this->system instanceof
Platform) {
93 $platform = $this->system;
95 $platform = $this->system->platform;
98 $ok = !$nonce->load();
100 $ok = $nonce->save();
103 $this->system->reason =
'Invalid nonce.';
lookup_consumer($consumerKey)
Create an OAuthConsumer object for the system.
new_access_token($token, $consumer, $verifier=null)
Get new access token.
__construct($system)
Class constructor.
new_request_token($consumer, $callback=null)
Get new request token.
lookup_token($consumer, $tokenType, $token)
Create an OAuthToken object for the system.
lookup_nonce($consumer, $token, $value, $timestamp)
Lookup nonce value for the system.
Class to represent an OAuth Consumer.
Class to represent an OAuth Data Store.
Class to represent an OAuth Exception.
Class to represent an OAuth token.