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
12
class
OAuthConsumer
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
}
ceLTIc\LTI\OAuth\OAuthConsumer\__toString
__toString()
Definition:
OAuthConsumer.php:25
ceLTIc\LTI\OAuth\OAuthConsumer
Class to represent an OAuth Consumer.
Definition:
OAuthConsumer.php:12
ceLTIc\LTI\OAuth\OAuthConsumer\__construct
__construct($key, $secret, $callback_url=NULL)
Definition:
OAuthConsumer.php:18
ceLTIc\LTI\OAuth\OAuthConsumer\$secret
$secret
Definition:
OAuthConsumer.php:16
ceLTIc\LTI\OAuth\OAuthConsumer\$key
$key
Definition:
OAuthConsumer.php:15
ceLTIc\LTI\OAuth
Definition:
OAuthConsumer.php:3
Generated on Wed Mar 13 2019 by
Doxygen 1.8.15