19 declare(strict_types=1);
28 public function add_consumer($consumer_key, $consumer_secret): void
30 $this->consumers[$consumer_key] = $consumer_secret;
35 if (strpos($consumer_key,
"http://") === 0) {
36 return new \ILIAS\LTIOAuth\OAuthConsumer($consumer_key,
"secret",
null);
38 if ($this->consumers[$consumer_key]) {
39 return new \ILIAS\LTIOAuth\OAuthConsumer($consumer_key, $this->consumers[$consumer_key],
null);
46 return new OAuthToken($consumer,
"");
add_consumer($consumer_key, $consumer_secret)
Interface Observer Contains several chained tasks and infos about them.
lookup_nonce($consumer, $token, $nonce, $timestamp)
new_access_token($token, $consumer, $verifier=null)
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
A Trivial memory-based store - no support for tokens.
foreach($mandatory_scripts as $file) $timestamp
lookup_consumer($consumer_key)
new_request_token($consumer, $callback=null)
lookup_token($consumer, $token_type, $token)