@@ -2,11 +2,11 @@ |
||
2 | 2 | |
3 | 3 | namespace Yokai\SecurityTokenBundle\DependencyInjection; |
4 | 4 | |
5 | +use Symfony\Component\Config\FileLocator; |
|
5 | 6 | use Symfony\Component\DependencyInjection\Alias; |
6 | 7 | use Symfony\Component\DependencyInjection\ContainerBuilder; |
7 | -use Symfony\Component\Config\FileLocator; |
|
8 | -use Symfony\Component\HttpKernel\DependencyInjection\Extension; |
|
9 | 8 | use Symfony\Component\DependencyInjection\Loader; |
9 | +use Symfony\Component\HttpKernel\DependencyInjection\Extension; |
|
10 | 10 | use Yokai\SecurityTokenBundle\Archive\ArchivistInterface; |
11 | 11 | use Yokai\SecurityTokenBundle\DependencyInjection\Factory\TokenConfigurationFactory; |
12 | 12 | use Yokai\SecurityTokenBundle\Factory\TokenFactoryInterface; |
@@ -5,9 +5,9 @@ |
||
5 | 5 | use DateTime; |
6 | 6 | use Yokai\SecurityTokenBundle\Entity\Token; |
7 | 7 | use Yokai\SecurityTokenBundle\EventDispatcher; |
8 | +use Yokai\SecurityTokenBundle\Exception\TokenConsumedException; |
|
8 | 9 | use Yokai\SecurityTokenBundle\Exception\TokenExpiredException; |
9 | 10 | use Yokai\SecurityTokenBundle\Exception\TokenNotFoundException; |
10 | -use Yokai\SecurityTokenBundle\Exception\TokenConsumedException; |
|
11 | 11 | use Yokai\SecurityTokenBundle\Factory\TokenFactoryInterface; |
12 | 12 | use Yokai\SecurityTokenBundle\InformationGuesser\InformationGuesserInterface; |
13 | 13 | use Yokai\SecurityTokenBundle\Repository\TokenRepositoryInterface; |
@@ -4,9 +4,9 @@ |
||
4 | 4 | |
5 | 5 | use DateTime; |
6 | 6 | use Yokai\SecurityTokenBundle\Entity\Token; |
7 | +use Yokai\SecurityTokenBundle\Exception\TokenConsumedException; |
|
7 | 8 | use Yokai\SecurityTokenBundle\Exception\TokenExpiredException; |
8 | 9 | use Yokai\SecurityTokenBundle\Exception\TokenNotFoundException; |
9 | -use Yokai\SecurityTokenBundle\Exception\TokenConsumedException; |
|
10 | 10 | |
11 | 11 | /** |
12 | 12 | * A token manager is the entry point to deal with tokens. |
@@ -3,9 +3,9 @@ |
||
3 | 3 | namespace Yokai\SecurityTokenBundle\Repository; |
4 | 4 | |
5 | 5 | use Yokai\SecurityTokenBundle\Entity\Token; |
6 | +use Yokai\SecurityTokenBundle\Exception\TokenConsumedException; |
|
6 | 7 | use Yokai\SecurityTokenBundle\Exception\TokenExpiredException; |
7 | 8 | use Yokai\SecurityTokenBundle\Exception\TokenNotFoundException; |
8 | -use Yokai\SecurityTokenBundle\Exception\TokenConsumedException; |
|
9 | 9 | |
10 | 10 | /** |
11 | 11 | * A token repository handles token persistence. |