@@ -10,7 +10,6 @@ |
||
| 10 | 10 | |
| 11 | 11 | namespace LoginCidadao\OpenIDBundle\Entity; |
| 12 | 12 | |
| 13 | -use Doctrine\Common\Collections\ArrayCollection; |
|
| 14 | 13 | use LoginCidadao\CoreBundle\Model\PersonInterface; |
| 15 | 14 | use LoginCidadao\OAuthBundle\Model\OrganizationInterface; |
| 16 | 15 | use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity; |
@@ -13,7 +13,6 @@ |
||
| 13 | 13 | use OAuth2\ServerBundle\Storage\AccessToken as BaseClass; |
| 14 | 14 | use OAuth2\Storage\AccessTokenInterface; |
| 15 | 15 | use Doctrine\ORM\EntityManager; |
| 16 | -use Ramsey\Uuid\Uuid; |
|
| 17 | 16 | |
| 18 | 17 | class AccessToken extends BaseClass implements AccessTokenInterface |
| 19 | 18 | { |
@@ -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; |
@@ -11,7 +11,6 @@ |
||
| 11 | 11 | namespace LoginCidadao\PhoneVerificationBundle\Event; |
| 12 | 12 | |
| 13 | 13 | |
| 14 | -use FOS\UserBundle\FOSUserEvents; |
|
| 15 | 14 | use libphonenumber\PhoneNumberFormat; |
| 16 | 15 | use libphonenumber\PhoneNumberUtil; |
| 17 | 16 | use LoginCidadao\CoreBundle\Model\PersonInterface; |
@@ -24,7 +24,6 @@ |
||
| 24 | 24 | use LoginCidadao\PhoneVerificationBundle\Entity\PhoneVerificationRepository; |
| 25 | 25 | use LoginCidadao\PhoneVerificationBundle\Model\PhoneVerificationInterface; |
| 26 | 26 | use Symfony\Component\HttpKernel\Exception\TooManyRequestsHttpException; |
| 27 | -use Symfony\Component\Security\Core\Exception\AccessDeniedException; |
|
| 28 | 27 | |
| 29 | 28 | class PhoneVerificationService implements PhoneVerificationServiceInterface |
| 30 | 29 | { |
@@ -16,7 +16,6 @@ |
||
| 16 | 16 | use LoginCidadao\PhoneVerificationBundle\Exception\VerificationNotSentException; |
| 17 | 17 | use LoginCidadao\PhoneVerificationBundle\Model\PhoneVerificationInterface; |
| 18 | 18 | use LoginCidadao\PhoneVerificationBundle\Model\SentVerificationInterface; |
| 19 | -use Symfony\Component\HttpKernel\Exception\TooManyRequestsHttpException; |
|
| 20 | 19 | |
| 21 | 20 | interface PhoneVerificationServiceInterface |
| 22 | 21 | { |
@@ -13,7 +13,6 @@ |
||
| 13 | 13 | use PROCERGS\Generic\ValidationBundle\Validator\Constraints as PROCERGSAssert; |
| 14 | 14 | use PROCERGS\LoginCidadao\NfgBundle\Entity\NfgProfile; |
| 15 | 15 | use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity; |
| 16 | -use Symfony\Component\Validator\Constraints as Assert; |
|
| 17 | 16 | use LoginCidadao\CoreBundle\Model\PersonInterface; |
| 18 | 17 | use JMS\Serializer\Annotation as JMS; |
| 19 | 18 | use Doctrine\ORM\Mapping as ORM; |
@@ -13,7 +13,6 @@ |
||
| 13 | 13 | use JMS\Serializer\EventDispatcher\EventSubscriberInterface; |
| 14 | 14 | use JMS\Serializer\EventDispatcher\ObjectEvent; |
| 15 | 15 | use JMS\Serializer\Serializer; |
| 16 | -use LoginCidadao\OAuthBundle\Model\AccessTokenManager; |
|
| 17 | 16 | use LoginCidadao\CoreBundle\Model\PersonInterface; |
| 18 | 17 | use PROCERGS\LoginCidadao\CoreBundle\Entity\PersonMeuRS; |
| 19 | 18 | use PROCERGS\LoginCidadao\CoreBundle\Helper\MeuRSHelper; |
@@ -5,7 +5,6 @@ |
||
| 5 | 5 | use Symfony\Component\Security\Core\Authentication\Token\TokenInterface; |
| 6 | 6 | use Symfony\Component\HttpFoundation\Request; |
| 7 | 7 | use Symfony\Component\Security\Http\Authentication\DefaultAuthenticationSuccessHandler; |
| 8 | -use Symfony\Component\Security\Http\Authentication\AuthenticationSuccessHandlerInterface; |
|
| 9 | 8 | use Symfony\Component\HttpFoundation\RedirectResponse; |
| 10 | 9 | use Symfony\Component\HttpFoundation\Session\Session; |
| 11 | 10 | use Symfony\Component\Routing\RouterInterface; |