LTI Tool Provider Library
3.0.2
PHP class library for building LTI Tool Providers
Main Page
Namespaces
Data Structures
Files
File List
OAuthConsumer.php
Go to the documentation of this file.
1
<?php
2
3
namespace
IMSGlobal\LTI\OAuth
;
4
12
class
OAuthConsumer
{
13
14
public
$key
;
15
public
$secret
;
16
17
function
__construct
(
$key
,
$secret
, $callback_url=NULL) {
18
$this->key =
$key
;
19
$this->secret =
$secret
;
20
$this->callback_url = $callback_url;
21
}
22
23
function
__toString
() {
24
return
"OAuthConsumer[key=$this->key,secret=$this->secret]"
;
25
}
26
27
}
IMSGlobal\LTI\OAuth\OAuthConsumer\__toString
__toString()
Definition:
OAuthConsumer.php:23
IMSGlobal\LTI\OAuth
Definition:
OAuthConsumer.php:3
IMSGlobal\LTI\OAuth\OAuthConsumer\__construct
__construct($key, $secret, $callback_url=NULL)
Definition:
OAuthConsumer.php:17
IMSGlobal\LTI\OAuth\OAuthConsumer
Class to represent an OAuth Consumer.
Definition:
OAuthConsumer.php:12
IMSGlobal\LTI\OAuth\OAuthConsumer\$key
$key
Definition:
OAuthConsumer.php:14
IMSGlobal\LTI\OAuth\OAuthConsumer\$secret
$secret
Definition:
OAuthConsumer.php:15
GitHub
IMSGlobal
LTI-Tool-Provider-Library-PHP
src
OAuth
OAuthConsumer.php
Copyright © 2016 by IMS Global Learning Consortium, Inc. All Rights Reserved. Trademark information:
www.imsglobal.org/copyright.html
Generated on Sun Sep 18 2016.