[Security][Guard] Deprecated GuardAuthenticatorInterface #8485
Labels
actionable
Clear and specific issues ready for anyone to take them.
hasPR
A Pull Request has already been submitted for this issue.
Security
Milestone
Uh oh!
There was an error while loading. Please reload this page.
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
The text was updated successfully, but these errors were encountered: