@@ -76,6 +76,7 @@ discard block |
||
76 | 76 | |
77 | 77 | /** |
78 | 78 | * {@inheritdoc} |
79 | + * @param string $providerKey |
|
79 | 80 | */ |
80 | 81 | public function supportsToken(TokenInterface $token, $providerKey) |
81 | 82 | { |
@@ -84,6 +85,7 @@ discard block |
||
84 | 85 | |
85 | 86 | /** |
86 | 87 | * {@inheritdoc} |
88 | + * @param string $providerKey |
|
87 | 89 | */ |
88 | 90 | public function authenticateToken(TokenInterface $token, UserProviderInterface $userProvider, $providerKey) |
89 | 91 | { |
@@ -13,9 +13,9 @@ |
||
13 | 13 | |
14 | 14 | use OsLab\SecurityApiBundle\Security\User\InMemoryApiUserProvider; |
15 | 15 | use Symfony\Component\HttpFoundation\Request; |
16 | -use Symfony\Component\Security\Core\Exception\AccessDeniedException; |
|
17 | 16 | use Symfony\Component\Security\Core\Authentication\Token\PreAuthenticatedToken; |
18 | 17 | use Symfony\Component\Security\Core\Authentication\Token\TokenInterface; |
18 | +use Symfony\Component\Security\Core\Exception\AccessDeniedException; |
|
19 | 19 | use Symfony\Component\Security\Core\Exception\UsernameNotFoundException; |
20 | 20 | use Symfony\Component\Security\Core\User\UserProviderInterface; |
21 | 21 | use Symfony\Component\Security\Http\Authentication\SimplePreAuthenticatorInterface; |