One more deprecation.

This commit is contained in:
Alexey Skobkin 2022-07-05 01:02:17 +03:00
parent 3b7b07fd0d
commit a62128550b
No known key found for this signature in database
GPG key ID: 5D5CEF6F221278E7

View file

@ -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();