Closed
Description
As of 3.4
GuardAuthenticatorInterface
is deprecated and will be removed in 4.0, references should be updated to useAuthenticatorInterface
instead (starting from 3.4);AuthenticatorInterface
introduces asupports()
method used to skip authenticators which are not able to process authentication from the given request, any authenticator must implement itGuardAuthenticatorInterface::getCredentials()
returningnull
causes the authenticator to be skipped. This behavior has been removed in the newAuthenticatorInterface
, returningnull
fromAuthenticatorInterface::getCredentials()
throws an\UnexpectedValueException
exception (false
should be returned fromsupports()
instead)
Code PR: symfony/symfony#16835