upgrade
This commit is contained in:
14
plugin/ims_lti/vendor/oauth1/example/access_token.php
vendored
Normal file
14
plugin/ims_lti/vendor/oauth1/example/access_token.php
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
require_once("common.inc.php");
|
||||
|
||||
try {
|
||||
$req = OAuthRequest::from_request();
|
||||
$token = $test_server->fetch_access_token($req);
|
||||
print $token;
|
||||
} catch (OAuthException $e) {
|
||||
print($e->getMessage() . "\n<hr />\n");
|
||||
print_r($req);
|
||||
die();
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user