@@ -4,11 +4,9 @@ |
||
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 | 8 | use Symfony\Component\HttpFoundation\Response; |
10 | 9 | use Symfony\Component\HttpFoundation\RedirectResponse; |
11 | -use League\OAuth2\Client\Provider\Exception\IdentityProviderException; |
|
12 | 10 | use Symfony\Bundle\FrameworkBundle\Controller\Controller; |
13 | 11 | use Symfony\Component\Routing\Annotation\Route; |
14 | 12 |
@@ -4,9 +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 | 7 | use Symfony\Component\Security\Core\User\UserInterface; |
11 | 8 | use KnpU\OAuth2ClientBundle\Security\Authenticator\SocialAuthenticator; |
12 | 9 | use KnpU\OAuth2ClientBundle\Client\ClientRegistry; |