Skip to content

[Security] Document how to wire up a custom authentication success handler #7989

Closed
@xabbuh

Description

@xabbuh

From symfony/symfony#20912:

I was trying to implement a custom authentication success handler, and it took me quite a bit to identify how to inject the options, the fact that it's based on the existence of a setOptions method is rather opaque.

Can we have an interface that is implemented by official handlers exposing setOptions?

This feature was introduced in Symfony 2.6 (see symfony/symfony#11993).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions