From a62128550b5f94daa1b9437773783aab282f18d0 Mon Sep 17 00:00:00 2001 From: Alexey Skobkin Date: Tue, 5 Jul 2022 01:02:17 +0300 Subject: [PATCH] One more deprecation. --- src/Security/ApiTokenAuthenticator.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Security/ApiTokenAuthenticator.php b/src/Security/ApiTokenAuthenticator.php index 2287d22..51be79f 100644 --- a/src/Security/ApiTokenAuthenticator.php +++ b/src/Security/ApiTokenAuthenticator.php @@ -108,6 +108,7 @@ class ApiTokenAuthenticator extends AbstractGuardAuthenticator return new JsonResponse($json, JsonResponse::HTTP_UNAUTHORIZED,[], true); } + /** @deprecated use AuthenticatorInterface::createToken() instead */ public function createAuthenticatedToken(UserInterface $user, $providerKey) { $request = $this->requestStack->getCurrentRequest();