@@ -36,6 +36,7 @@ |
||
36 | 36 | |
37 | 37 | /** |
38 | 38 | * @param NodeDefinition $node |
39 | + * @return void |
|
39 | 40 | */ |
40 | 41 | public function getNodeDefinition(ArrayNodeDefinition $node); |
41 | 42 |
@@ -16,10 +16,10 @@ |
||
16 | 16 | use OAuth2Framework\Bundle\Security\Authentication\Provider\OAuth2Provider; |
17 | 17 | use OAuth2Framework\Bundle\Security\EntryPoint\OAuth2EntryPoint; |
18 | 18 | use OAuth2Framework\Bundle\Security\Firewall\OAuth2Listener; |
19 | +use Symfony\Bundle\SecurityBundle\DependencyInjection\Security\Factory\SecurityFactoryInterface; |
|
19 | 20 | use Symfony\Component\DependencyInjection\ChildDefinition; |
20 | 21 | use Symfony\Component\DependencyInjection\ContainerBuilder; |
21 | 22 | use Symfony\Component\DependencyInjection\Reference; |
22 | -use Symfony\Bundle\SecurityBundle\DependencyInjection\Security\Factory\SecurityFactoryInterface; |
|
23 | 23 | use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface; |
24 | 24 | |
25 | 25 | class OAuth2SecurityFactory implements SecurityFactoryInterface |
@@ -13,13 +13,13 @@ |
||
13 | 13 | |
14 | 14 | namespace OAuth2Framework\Component\TokenIntrospectionEndpoint; |
15 | 15 | |
16 | -use OAuth2Framework\Component\ResourceServerAuthentication\AuthenticationMethodManager; |
|
17 | -use Psr\Http\Server\RequestHandlerInterface; |
|
18 | -use Psr\Http\Server\MiddlewareInterface; |
|
19 | -use OAuth2Framework\Component\Core\ResourceServer\ResourceServerRepository; |
|
20 | 16 | use OAuth2Framework\Component\Core\Exception\OAuth2Exception; |
17 | +use OAuth2Framework\Component\Core\ResourceServer\ResourceServerRepository; |
|
18 | +use OAuth2Framework\Component\ResourceServerAuthentication\AuthenticationMethodManager; |
|
21 | 19 | use Psr\Http\Message\ResponseInterface; |
22 | 20 | use Psr\Http\Message\ServerRequestInterface; |
21 | +use Psr\Http\Server\MiddlewareInterface; |
|
22 | +use Psr\Http\Server\RequestHandlerInterface; |
|
23 | 23 | |
24 | 24 | class AuthenticationMiddleware implements MiddlewareInterface |
25 | 25 | { |