mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-27 07:20:18 +05:30
Merge pull request #346 from Korri/Korri-patch-removed-duplicate-routing
Removed duplicate routing setup code
This commit is contained in:
commit
abf66ef9c8
@ -9,11 +9,6 @@ use RelationalExample\Storage;
|
|||||||
|
|
||||||
include __DIR__.'/vendor/autoload.php';
|
include __DIR__.'/vendor/autoload.php';
|
||||||
|
|
||||||
// Routing setup
|
|
||||||
$request = (new Request())->createFromGlobals();
|
|
||||||
$router = new \Orno\Route\RouteCollection();
|
|
||||||
$router->setStrategy(\Orno\Route\RouteStrategyInterface::RESTFUL_STRATEGY);
|
|
||||||
|
|
||||||
// Set up the OAuth 2.0 resource server
|
// Set up the OAuth 2.0 resource server
|
||||||
$sessionStorage = new Storage\SessionStorage();
|
$sessionStorage = new Storage\SessionStorage();
|
||||||
$accessTokenStorage = new Storage\AccessTokenStorage();
|
$accessTokenStorage = new Storage\AccessTokenStorage();
|
||||||
|
Loading…
Reference in New Issue
Block a user