Skip to content

Commit

Permalink
adding one clarifying message
Browse files Browse the repository at this point in the history
  • Loading branch information
weaverryan committed Nov 23, 2015
1 parent 9782ff1 commit 4752d4c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cookbook/security/guard-authentication.rst
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,10 @@ That's it! Need more information about this step, see:
Step 1) Create the Authenticator Class
--------------------------------------

Suppose you have an API where your clients will send an ``X-AUTH-TOKEN`` header
on each request with their API token. Your job is to read this and find the associated
user (if any).

To create a custom authentication system, just create a class an make it implement
:class:`Symfony\\Component\\Security\\Guard\\GuardAuthenticatorInterface`. Or, extend
the simpler :class:`Symfony\\Component\\Security\\Guard\\AbstractGuardAuthenticator`.
Expand Down

0 comments on commit 4752d4c

Please sign in to comment.