| Current Path : /var/www/v3.cesa.co.za/vendor/league/oauth2-server-bundle/config/ |
| Current File : /var/www/v3.cesa.co.za/vendor/league/oauth2-server-bundle/config/routes.php |
<?php
declare(strict_types=1);
use Symfony\Component\Routing\Loader\Configurator\RoutingConfigurator;
return static function (RoutingConfigurator $routes) {
$routes
->add('oauth2_authorize', '/authorize')
->controller(['league.oauth2_server.controller.authorization', 'indexAction'])
->add('oauth2_token', '/token')
->controller(['league.oauth2_server.controller.token', 'indexAction'])
->methods(['POST'])
;
};