Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commit3366dfc

Browse files
author
Sam Hudson
committed
fixed authentication failed header
1 parent21e3536 commit3366dfc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎cookbook/security/api_key_authentication.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -210,11 +210,11 @@ exception in ``refreshUser()``.
210210
If you *do* want to store authentication data in the session so that
211211
the key doesn't need to be sent on every request, see:ref:`cookbook-security-api-key-session`.
212212

213-
HandlingExceptions
214-
-------------------
213+
HandlingAuthentication Failure
214+
-------------------------------
215215

216-
In order foryou're ``ApiKeyAuthentication`` to correctly display a 403
217-
http status when either bad credentials, or authentication fails you will
216+
In order foryour ``ApiKeyAuthentication`` to correctly display a 403
217+
http status when either bad credentials, or authentication fails-you will
218218
need to implement the ``AuthenticationFailureHandlerInterface`` on your
219219
Authenticator. This will provide a method ``onAuthenticationFailure`` which
220220
you can then return a ``Response`` with.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp