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

Appearance settings

[Security] Add event subscriber aliases for DeauthenticatedEvent and LogoutEvent in SecurityEvents #40596

Copy link
Copy link
Closed
@Adambean

Description

@Adambean
Issue body actions

I noticed that Symfony\Component\Security\Http\SecurityEvents only supports the InteractiveLoginEvent and SwitchUserEvent events.

It would be rather splendid if support could be added to DeauthenticatedEvent and LogoutEvent (with suggested aliases "security.deauthenticate" and "security.logout" respectively) so they could be picked up by an event subscriber instead of needing separate event listeners.

I could happily submit a PR for this, but I'd have thought there must be a reason for not including these events to date? (Seems like it would have been obvious to have included at the time of building SecurityEvents.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.