implements oauth2.0 v9.0 Resource Owner Basic Credentials

This commit is contained in:
Nicolas Le Goff
2012-04-13 15:44:39 +02:00
parent e513a75d86
commit 527b3639b5
3 changed files with 493 additions and 442 deletions

View File

@@ -15,14 +15,8 @@
* @license http://opensource.org/licenses/gpl-3.0 GPLv3
* @link www.phraseanet.com
*/
use Symfony\Component\HttpFoundation\Response;
require_once __DIR__ . "/../../../lib/bootstrap.php";
try
{
$app = require __DIR__ . '/../../../lib/Alchemy/Phrasea/Application/OAuth2.php';
$app->run();
}
catch (Exception $e)
{
return new Response('Internal Server Error', 500);
}
$app = require __DIR__ . '/../../../lib/Alchemy/Phrasea/Application/OAuth2.php';
$app->run();