|
35 | 35 | use Symfony\Component\Security\Core\User\UserCheckerInterface;
|
36 | 36 | use Symfony\Component\Security\Core\User\UserInterface;
|
37 | 37 | use Symfony\Component\Security\Core\User\UserProviderInterface;
|
38 |
| -use Symfony\Component\Security\Guard\AuthenticatorInterface as GuardAuthenticatorInterface; |
39 | 38 | use Symfony\Component\Security\Http\Authenticator\AuthenticatorInterface;
|
40 | 39 | use Symfony\Component\Security\Http\Authenticator\HttpBasicAuthenticator;
|
41 | 40 | use Symfony\Component\Security\Http\Authenticator\Passport\PassportInterface;
|
@@ -835,45 +834,6 @@ public function onAuthenticationFailure(Request $request, AuthenticationExceptio
|
835 | 834 | }
|
836 | 835 | }
|
837 | 836 |
|
838 |
| -class NullAuthenticator implements GuardAuthenticatorInterface |
839 |
| -{ |
840 |
| - public function start(Request $request, AuthenticationException $authException = null) |
841 |
| - { |
842 |
| - } |
843 |
| - |
844 |
| - public function supports(Request $request) |
845 |
| - { |
846 |
| - } |
847 |
| - |
848 |
| - public function getCredentials(Request $request) |
849 |
| - { |
850 |
| - } |
851 |
| - |
852 |
| - public function getUser($credentials, UserProviderInterface $userProvider) |
853 |
| - { |
854 |
| - } |
855 |
| - |
856 |
| - public function checkCredentials($credentials, UserInterface $user) |
857 |
| - { |
858 |
| - } |
859 |
| - |
860 |
| - public function createAuthenticatedToken(UserInterface $user, string $providerKey) |
861 |
| - { |
862 |
| - } |
863 |
| - |
864 |
| - public function onAuthenticationFailure(Request $request, AuthenticationException $exception) |
865 |
| - { |
866 |
| - } |
867 |
| - |
868 |
| - public function onAuthenticationSuccess(Request $request, TokenInterface $token, string $providerKey) |
869 |
| - { |
870 |
| - } |
871 |
| - |
872 |
| - public function supportsRememberMe() |
873 |
| - { |
874 |
| - } |
875 |
| -} |
876 |
| - |
877 | 837 | class TestUserChecker implements UserCheckerInterface
|
878 | 838 | {
|
879 | 839 | public function checkPreAuth(UserInterface $user)
|
|
0 commit comments