-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Closed
Labels
SecurityactionableClear and specific issues ready for anyone to take them.Clear and specific issues ready for anyone to take them.hasPRA Pull Request has already been submitted for this issue.A Pull Request has already been submitted for this issue.
Milestone
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
Metadata
Metadata
Assignees
Labels
SecurityactionableClear and specific issues ready for anyone to take them.Clear and specific issues ready for anyone to take them.hasPRA Pull Request has already been submitted for this issue.A Pull Request has already been submitted for this issue.