@@ -178,7 +178,7 @@ |
||
| 178 | 178 | } |
| 179 | 179 | |
| 180 | 180 | private function checkRegistrationAccessToken(Request $request, |
| 181 | - Client $client) |
|
| 181 | + Client $client) |
|
| 182 | 182 | { |
| 183 | 183 | $raw = $request->get('access_token', |
| 184 | 184 | $request->headers->get('authorization')); |
@@ -7,7 +7,6 @@ |
||
| 7 | 7 | use LoginCidadao\OpenIDBundle\Entity\ClientMetadata; |
| 8 | 8 | use LoginCidadao\OpenIDBundle\Manager\ClientManager; |
| 9 | 9 | use LoginCidadao\OpenIDBundle\Validator\SectorIdentifierUriChecker; |
| 10 | -use Symfony\Bundle\FrameworkBundle\Client; |
|
| 11 | 10 | use Symfony\Component\HttpFoundation\Request; |
| 12 | 11 | use OAuth2\ServerBundle\Controller\AuthorizeController as BaseController; |
| 13 | 12 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
@@ -10,8 +10,6 @@ |
||
| 10 | 10 | |
| 11 | 11 | namespace LoginCidadao\OpenIDBundle\Validator\Constraints; |
| 12 | 12 | |
| 13 | -use Doctrine\ORM\EntityManager; |
|
| 14 | -use LoginCidadao\OAuthBundle\Entity\Client; |
|
| 15 | 13 | use LoginCidadao\OAuthBundle\Entity\Organization; |
| 16 | 14 | use LoginCidadao\OAuthBundle\Entity\OrganizationRepository; |
| 17 | 15 | use LoginCidadao\OpenIDBundle\Entity\ClientMetadata; |
@@ -6,7 +6,6 @@ |
||
| 6 | 6 | use JMS\Serializer\SerializationContext; |
| 7 | 7 | use LoginCidadao\APIBundle\Exception\RequestTimeoutException; |
| 8 | 8 | use LoginCidadao\CoreBundle\Entity\Person; |
| 9 | -use LoginCidadao\CoreBundle\Entity\Authorization; |
|
| 10 | 9 | use Symfony\Component\HttpFoundation\Request; |
| 11 | 10 | use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; |
| 12 | 11 | use Nelmio\ApiDocBundle\Annotation\ApiDoc; |
@@ -6,10 +6,8 @@ |
||
| 6 | 6 | use Symfony\Component\Routing\Annotation\Route; |
| 7 | 7 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; |
| 8 | 8 | use Symfony\Component\HttpFoundation\Request; |
| 9 | -use Symfony\Component\HttpFoundation\Response; |
|
| 10 | 9 | use LoginCidadao\OAuthBundle\Entity\Client; |
| 11 | 10 | use LoginCidadao\CoreBundle\Helper\GridHelper; |
| 12 | -use Michelf\MarkdownExtra; |
|
| 13 | 11 | |
| 14 | 12 | /** |
| 15 | 13 | * @Route("/admin/client") |
@@ -18,7 +18,6 @@ |
||
| 18 | 18 | use LoginCidadao\OpenIDBundle\Form\EndSessionForm; |
| 19 | 19 | use LoginCidadao\OpenIDBundle\Service\SubjectIdentifierService; |
| 20 | 20 | use LoginCidadao\OpenIDBundle\Storage\PublicKey; |
| 21 | -use Symfony\Component\HttpFoundation\RedirectResponse; |
|
| 22 | 21 | use Symfony\Component\HttpFoundation\Request; |
| 23 | 22 | use Symfony\Component\HttpFoundation\JsonResponse; |
| 24 | 23 | use Symfony\Bundle\FrameworkBundle\Controller\Controller; |
@@ -3,7 +3,6 @@ |
||
| 3 | 3 | namespace LoginCidadao\NotificationBundle\Model; |
| 4 | 4 | |
| 5 | 5 | use LoginCidadao\NotificationBundle\Entity\Placeholder; |
| 6 | -use Doctrine\Common\Collections\ArrayCollection; |
|
| 7 | 6 | use Doctrine\ORM\EntityManager; |
| 8 | 7 | |
| 9 | 8 | class BroadcastPlaceholder |
@@ -26,7 +26,6 @@ |
||
| 26 | 26 | use LoginCidadao\OAuthBundle\Entity\Client; |
| 27 | 27 | use LoginCidadao\CoreBundle\DynamicFormEvents; |
| 28 | 28 | use Symfony\Component\HttpFoundation\Response; |
| 29 | -use Symfony\Component\HttpKernel\Exception\BadRequestHttpException; |
|
| 30 | 29 | |
| 31 | 30 | class DynamicFormController extends Controller |
| 32 | 31 | { |
@@ -8,11 +8,8 @@ |
||
| 8 | 8 | use LoginCidadao\CoreBundle\Model\Task; |
| 9 | 9 | use LoginCidadao\CoreBundle\Service\IntentManager; |
| 10 | 10 | use LoginCidadao\CoreBundle\Service\TasksManager; |
| 11 | -use Symfony\Component\EventDispatcher\Event; |
|
| 12 | 11 | use Symfony\Component\EventDispatcher\EventDispatcherInterface; |
| 13 | -use Symfony\Component\HttpFoundation\Session\SessionInterface; |
|
| 14 | 12 | use Symfony\Component\HttpKernel\HttpKernel; |
| 15 | -use Symfony\Component\HttpKernel\HttpKernelInterface; |
|
| 16 | 13 | use Symfony\Component\Routing\RouterInterface; |
| 17 | 14 | use Symfony\Component\HttpFoundation\Session\Session; |
| 18 | 15 | use Symfony\Component\Translation\TranslatorInterface; |