LTI Integration Library
4.10.3
PHP class library for building LTI integrations
Loading...
Searching...
No Matches
OAuthConsumer.php
1
<?php
2
3
namespace
ceLTIc\LTI\OAuth;
4
12
class
OAuthConsumer
13
{
14
20
public
$key
;
21
27
public
$secret
;
28
34
public
$callback_url
;
35
43
function
__construct
(
$key
,
$secret
,
$callback_url
=
null
)
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
}
ceLTIc\LTI\OAuth\OAuthConsumer
Class to represent an OAuth Consumer.
Definition
OAuthConsumer.php:13
ceLTIc\LTI\OAuth\OAuthConsumer\$secret
$secret
Shared secret.
Definition
OAuthConsumer.php:27
ceLTIc\LTI\OAuth\OAuthConsumer\__construct
__construct($key, $secret, $callback_url=null)
Class constructor.
Definition
OAuthConsumer.php:43
ceLTIc\LTI\OAuth\OAuthConsumer\__toString
__toString()
Convert object to a string.
Definition
OAuthConsumer.php:55
ceLTIc\LTI\OAuth\OAuthConsumer\$callback_url
$callback_url
Callback URL.
Definition
OAuthConsumer.php:34
ceLTIc\LTI\OAuth\OAuthConsumer\$key
$key
Consumer key.
Definition
OAuthConsumer.php:20
Generated on Tue Jun 13 2023 by
Doxygen 1.9.7