@@ -4,9 +4,7 @@ |
||
| 4 | 4 | |
| 5 | 5 | namespace SWP\Bundle\CoreBundle\Controller; |
| 6 | 6 | |
| 7 | -use KnpU\OAuth2ClientBundle\Client\ClientRegistry; |
|
| 8 | 7 | use Symfony\Component\HttpFoundation\Request; |
| 9 | -use League\OAuth2\Client\Provider\Exception\IdentityProviderException; |
|
| 10 | 8 | use Symfony\Bundle\FrameworkBundle\Controller\Controller; |
| 11 | 9 | use Symfony\Component\Routing\Annotation\Route; |
| 12 | 10 | |
@@ -4,10 +4,6 @@ |
||
| 4 | 4 | |
| 5 | 5 | namespace SWP\Bundle\CoreBundle\Security\Authenticator; |
| 6 | 6 | |
| 7 | -use Doctrine\ORM\EntityManagerInterface; |
|
| 8 | -use SWP\Bundle\CoreBundle\Model\UserInterface as CoreUserInterface; |
|
| 9 | -use SWP\Bundle\CoreBundle\Security\Provider\UserProvider; |
|
| 10 | -use Symfony\Component\Security\Core\User\UserInterface; |
|
| 11 | 7 | use KnpU\OAuth2ClientBundle\Security\Authenticator\SocialAuthenticator; |
| 12 | 8 | use KnpU\OAuth2ClientBundle\Client\ClientRegistry; |
| 13 | 9 | use Symfony\Component\HttpFoundation\Request; |