File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -210,11 +210,11 @@ exception in ``refreshUser()``.
210
210
If you *do * want to store authentication data in the session so that
211
211
the key doesn't need to be sent on every request, see :ref: `cookbook-security-api-key-session `.
212
212
213
- Handling Exceptions
214
- -------------------
213
+ Handling Authentication Failure
214
+ -------------------------------
215
215
216
- In order for you're ``ApiKeyAuthentication `` to correctly display a 403
217
- http status when either bad credentials, or authentication fails you will
216
+ In order for your ``ApiKeyAuthentication `` to correctly display a 403
217
+ http status when either bad credentials, or authentication fails - you will
218
218
need to implement the ``AuthenticationFailureHandlerInterface `` on your
219
219
Authenticator. This will provide a method ``onAuthenticationFailure `` which
220
220
you can then return a ``Response `` with.
You can’t perform that action at this time.
0 commit comments