File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -1602,6 +1602,20 @@ and set the ``limiter`` option to its service ID:
16021602 ;
16031603 };
16041604
1605+ Customize Successful and Failed Authentication Behavior
1606+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1607+
1608+ If you want to customize the success or failure handling process, instead of
1609+ overwriting the respective listeners globally, you can set custom success
1610+ failure handlers by implementing the
1611+ :class: `Symfony\\ Component\\ Security\\ Http\\ Authentication\\ AuthenticationSuccessHandlerInterface `
1612+ or the
1613+ :class: `Symfony\\ Component\\ Security\\ Http\\ Authentication\\ AuthenticationFailureHandlerInterface `.
1614+
1615+ If you want more information about this, you can have a look at the section
1616+ about
1617+ :ref: `customizing your success handler <login-link_customize-success-handler >`.
1618+
16051619.. _security-logging-out :
16061620
16071621Logging Out
Original file line number Diff line number Diff line change @@ -693,6 +693,8 @@ from the first hash value and the ``kernel.secret`` container parameter. This
693693allows Symfony to sign this final hash, which is contained in the login URL.
694694The final hash is also a Base64 encoded SHA-256 hash.
695695
696+ .. _login-link_customize-success-handler :
697+
696698Customizing the Success Handler
697699-------------------------------
698700
You can’t perform that action at this time.
0 commit comments