LTI Integration Library 4.10.3
PHP class library for building LTI integrations
 
Loading...
Searching...
No Matches
OAuthConsumer.php
1<?php
2
3namespace ceLTIc\LTI\OAuth;
4
13{
14
20 public $key;
21
27 public $secret;
28
35
44 {
45 $this->key = $key;
46 $this->secret = $secret;
47 $this->callback_url = $callback_url;
48 }
49
55 function __toString()
56 {
57 return "OAuthConsumer[key=$this->key,secret=$this->secret]";
58 }
59
60}
Class to represent an OAuth Consumer.
__construct($key, $secret, $callback_url=null)
Class constructor.
__toString()
Convert object to a string.