File tree 1 file changed +3
-4
lines changed
1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -370,7 +370,7 @@ The Guard Authenticator Methods
370
370
Each authenticator needs the following methods:
371
371
372
372
**supports(Request $request) **
373
- This will be called on *every * request and your job is to decide if the
373
+ This is called on *every * request and your job is to decide if the
374
374
authenticator should be used for this request (return ``true ``) or if it
375
375
should be skipped (return ``false ``).
376
376
@@ -381,9 +381,8 @@ Each authenticator needs the following methods:
381
381
``getCredentials() `` method.
382
382
383
383
**getCredentials(Request $request) **
384
- This will be called on *every * request and your job is to read the token (or
385
- whatever your "authentication" information is) from the request and return it.
386
- These credentials are later passed as the first argument of ``getUser() ``.
384
+ Your job is to read the token (or whatever your "authentication" information is)
385
+ from the request and return it. These credentials are passed to ``getUser() ``.
387
386
388
387
**getUser($credentials, UserProviderInterface $userProvider) **
389
388
The ``$credentials `` argument is the value returned by ``getCredentials() ``.
You can’t perform that action at this time.
0 commit comments