-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Ldap][Security] Remove deprecated eraseCredentials()
from (User|Token)Interface
#60742
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
eraseCredentials()
from (User|Token)InterfaceeraseCredentials()
from (User|Token)Interface
9127d07
to
e1ed824
Compare
@@ -209,10 +209,6 @@ private function executeAuthenticator(AuthenticatorInterface $authenticator, Req | |||
// announce the authentication token | |||
$authenticatedToken = $this->eventDispatcher->dispatch(new AuthenticationTokenCreatedEvent($authenticatedToken, $passport))->getAuthenticatedToken(); | |||
|
|||
if ($this->eraseCredentials) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we might need a plan to remove the property now
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You mean deprecating on 7.4?
UPGRADE-8.0.md
Outdated
|
||
```php | ||
#[\Deprecated] | ||
public function eraseCredentials(): void |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this method be removed here?
e1ed824
to
7909077
Compare
7909077
to
513a272
Compare
Thank you @chalasr. |
We didn't deprecate the config option + container parameter from SecurityBundle nor the corresponding
AuthenticatorManager
constructor param, I propose to keep them no-op and deprecate them in 8.1 (mainly becauseAuthenticatorManager
already deprecates a boolean parameter in 7.3 which makes deprecating the parameter complicates the bc layer and upgrade path significantly).