Skip to content

Commit 4752d4c

Browse files
committed
adding one clarifying message
1 parent 9782ff1 commit 4752d4c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cookbook/security/guard-authentication.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,10 @@ That's it! Need more information about this step, see:
140140
Step 1) Create the Authenticator Class
141141
--------------------------------------
142142

143+
Suppose you have an API where your clients will send an ``X-AUTH-TOKEN`` header
144+
on each request with their API token. Your job is to read this and find the associated
145+
user (if any).
146+
143147
To create a custom authentication system, just create a class an make it implement
144148
:class:`Symfony\\Component\\Security\\Guard\\GuardAuthenticatorInterface`. Or, extend
145149
the simpler :class:`Symfony\\Component\\Security\\Guard\\AbstractGuardAuthenticator`.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy