LTI Integration Library  3.1.0
PHP class library for building LTI integrations
OAuthConsumer.php
Go to the documentation of this file.
1 <?php
2 
3 namespace ceLTIc\LTI\OAuth;
4 
13 {
14 
15  public $key;
16  public $secret;
17 
18  function __construct($key, $secret, $callback_url = NULL)
19  {
20  $this->key = $key;
21  $this->secret = $secret;
22  $this->callback_url = $callback_url;
23  }
24 
25  function __toString()
26  {
27  return "OAuthConsumer[key=$this->key,secret=$this->secret]";
28  }
29 
30 }
Class to represent an OAuth Consumer.
__construct($key, $secret, $callback_url=NULL)