@@ -16,11 +16,11 @@ |
||
| 16 | 16 | use OAuth2Framework\Bundle\Server\Security\Authentication\Provider\OAuth2Provider; |
| 17 | 17 | use OAuth2Framework\Bundle\Server\Security\EntryPoint\OAuth2EntryPoint; |
| 18 | 18 | use OAuth2Framework\Bundle\Server\Security\Firewall\OAuth2Listener; |
| 19 | +use Symfony\Bundle\SecurityBundle\DependencyInjection\Security\Factory\SecurityFactoryInterface; |
|
| 20 | +use Symfony\Component\Config\Definition\Builder\NodeDefinition; |
|
| 19 | 21 | use Symfony\Component\DependencyInjection\ChildDefinition; |
| 20 | 22 | use Symfony\Component\DependencyInjection\ContainerBuilder; |
| 21 | 23 | use Symfony\Component\DependencyInjection\Reference; |
| 22 | -use Symfony\Component\Config\Definition\Builder\NodeDefinition; |
|
| 23 | -use Symfony\Bundle\SecurityBundle\DependencyInjection\Security\Factory\SecurityFactoryInterface; |
|
| 24 | 24 | use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface; |
| 25 | 25 | |
| 26 | 26 | final class OAuth2SecurityFactory implements SecurityFactoryInterface |
@@ -14,8 +14,8 @@ |
||
| 14 | 14 | namespace OAuth2Framework\Component\Server\Middleware; |
| 15 | 15 | |
| 16 | 16 | use Assert\Assertion; |
| 17 | -use Interop\Http\Server\RequestHandlerInterface; |
|
| 18 | 17 | use Interop\Http\Server\MiddlewareInterface; |
| 18 | +use Interop\Http\Server\RequestHandlerInterface; |
|
| 19 | 19 | use OAuth2Framework\Component\Server\Model\AccessToken\AccessToken; |
| 20 | 20 | use OAuth2Framework\Component\Server\Model\AccessToken\AccessTokenId; |
| 21 | 21 | use OAuth2Framework\Component\Server\Response\OAuth2Exception; |