One more deprecation.
This commit is contained in:
parent
3b7b07fd0d
commit
a62128550b
|
@ -108,6 +108,7 @@ class ApiTokenAuthenticator extends AbstractGuardAuthenticator
|
||||||
return new JsonResponse($json, JsonResponse::HTTP_UNAUTHORIZED,[], true);
|
return new JsonResponse($json, JsonResponse::HTTP_UNAUTHORIZED,[], true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** @deprecated use AuthenticatorInterface::createToken() instead */
|
||||||
public function createAuthenticatedToken(UserInterface $user, $providerKey)
|
public function createAuthenticatedToken(UserInterface $user, $providerKey)
|
||||||
{
|
{
|
||||||
$request = $this->requestStack->getCurrentRequest();
|
$request = $this->requestStack->getCurrentRequest();
|
||||||
|
|
Loading…
Reference in a new issue