@@ -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')); |
@@ -2,7 +2,6 @@ |
||
| 2 | 2 | namespace LoginCidadao\OAuthBundle\Entity; |
| 3 | 3 | |
| 4 | 4 | use Doctrine\ORM\Mapping as ORM; |
| 5 | -use Symfony\Component\Validator\Constraints as Assert; |
|
| 6 | 5 | use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity; |
| 7 | 6 | |
| 8 | 7 | /** |
@@ -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; |