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

Commit 698825f

Browse filesBrowse files
Sam Hudsonweaverryan
authored andcommitted
fixed line wrapping
1 parent 92fb4b1 commit 698825f
Copy full SHA for 698825f

File tree

Expand file treeCollapse file tree

1 file changed

+5
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+5
-1
lines changed

‎cookbook/security/api_key_authentication.rst

Copy file name to clipboardExpand all lines: cookbook/security/api_key_authentication.rst
+5-1Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,11 @@ exception in ``refreshUser()``.
213213
Handling Exceptions
214214
-------------------
215215

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
220+
you can then return a ``Response`` with.
217221

218222
// src/Acme/HelloBundle/Security/ApiKeyAuthenticator.php
219223
namespace Acme\HelloBundle\Security;

0 commit comments

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