Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Ldap][Security] Remove deprecatederaseCredentials() 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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

@chalasr
Copy link
Member

@chalasrchalasr commentedJun 8, 2025
edited
Loading

QA
Branch?8.0
Bug fix?no
New feature?no
Deprecations?no
Issues#59682
LicenseMIT

We didn't deprecate the config option + container parameter from SecurityBundle nor the correspondingAuthenticatorManager 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).

@carsonbotcarsonbot added this to the8.0 milestoneJun 8, 2025
@carsonbotcarsonbot changed the title[Security][Ldap] Remove deprecatederaseCredentials() from (User|Token)Interface[Ldap][Security] Remove deprecatederaseCredentials() from (User|Token)InterfaceJun 8, 2025
@chalasrchalasrforce-pushed theremove-erasecredentials branch 2 times, most recently from9127d07 toe1ed824CompareJune 8, 2025 18:12
// announce the authentication token
$authenticatedToken =$this->eventDispatcher->dispatch(newAuthenticationTokenCreatedEvent($authenticatedToken,$passport))->getAuthenticatedToken();

if ($this->eraseCredentials) {

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

OskarStark reacted with thumbs up emoji
Copy link
MemberAuthor

@chalasrchalasrJun 15, 2025
edited
Loading

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?

nicolas-grekas reacted with thumbs up emoji

```php
#[\Deprecated]
public function eraseCredentials(): void
Copy link
Contributor

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?

@nicolas-grekas
Copy link
Member

Thank you@chalasr.

@nicolas-grekasnicolas-grekas merged commit46aa500 intosymfony:8.0Jun 16, 2025
5 of 8 checks passed
@fabpotfabpot mentioned this pull requestOct 27, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@OskarStarkOskarStarkOskarStark left review comments

@nicolas-grekasnicolas-grekasnicolas-grekas approved these changes

@alexandre-dauboisalexandre-dauboisalexandre-daubois approved these changes

+1 more reviewer

@Fan2ShrekFan2ShrekFan2Shrek approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

8.0

Development

Successfully merging this pull request may close these issues.

6 participants

@chalasr@nicolas-grekas@OskarStark@alexandre-daubois@Fan2Shrek@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp