projects
/
fusionforge
/
fusionforge.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
project home
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merged from 5.2
[fusionforge/fusionforge.git]
/
src
/
plugins
/
oauthprovider
/
3rd-party
/
oauth-php
/
example
/
access_token.php
1
<?php
2
require_once 'common.inc.php';
3
4
try {
5
$req = OAuthRequest::from_request();
6
$token = $test_server->fetch_access_token($req);
7
print $token;
8
} catch (OAuthException $e) {
9
print($e->getMessage() . "\n<hr />\n");
10
print_r($req);
11
die();
12
}