You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cookbook/security/api_key_authentication.rst
+5-1Lines changed: 5 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -213,7 +213,11 @@ exception in ``refreshUser()``.
213
213
Handling Exceptions
214
214
-------------------
215
215
216
-
In order for you're ``ApiKeyAuthentication`` to correctly display a 403 http status when either bad credentials, or authentication fails you will need to implement the ``AuthenticationFailureHandlerInterface`` on your Authenticator. This will provide a method ``onAuthenticationFailure`` which you can then return a ``Response`` with.
216
+
In order for you're ``ApiKeyAuthentication`` to correctly display a 403
217
+
http status when either bad credentials, or authentication fails you will
218
+
need to implement the ``AuthenticationFailureHandlerInterface`` on your
219
+
Authenticator. This will provide a method ``onAuthenticationFailure`` which
0 commit comments