@@ -105,7 +105,7 @@ discard block |
||
105 | 105 | $this->app->bind(UserAuthenticationInterface::class, UserAuthentication::class); |
106 | 106 | |
107 | 107 | // Configuration |
108 | - $this->app->bind(Configuration::class, function (ContainerInterface $app) { |
|
108 | + $this->app->bind(Configuration::class, function(ContainerInterface $app) { |
|
109 | 109 | return new Configuration($app->get(Config::class)->get('oauth2', [])); |
110 | 110 | }); |
111 | 111 | |
@@ -164,7 +164,7 @@ discard block |
||
164 | 164 | */ |
165 | 165 | public function addRoutes(Router $router): void |
166 | 166 | { |
167 | - $router->group('/oauth2', function (Router $router) { |
|
167 | + $router->group('/oauth2', function(Router $router) { |
|
168 | 168 | $router->post('/token', AccessTokenRequestHandler::class, 'oauth2_access_token'); |
169 | 169 | $router->add('/authorize', AuthorizationRequestHandler::class, ['GET', 'POST'], 'oauth2_authorization_code'); |
170 | 170 | $router->post('/revocation', TokenRevocationRequestHandler::class, 'oauth2_revoke_access_token'); |