Skip to content

Commit 2d31a0f

Browse files
committed
minor #6130 [Security][Guard] Completed start method signature (jeremyFreeAgent)
This PR was submitted for the master branch but it was merged into the 2.8 branch instead (closes #6130). Discussion ---------- [Security][Guard] Completed start method signature | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | 2.8 | Fixed tickets | The ``start()`` method did not have its signature but the other methods did. Commits ------- b6b6a39 [Security][Guard] Completed start method signature
2 parents 24e2da6 + b6b6a39 commit 2d31a0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cookbook/security/guard-authentication.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ Each authenticator needs the following methods:
418418
object that should be sent to the client. The ``$exception`` will tell you
419419
*what* went wrong during authentication.
420420

421-
**start**
421+
**start(Request $request, AuthenticationException $authException = null)**
422422
This is called if the client accesses a URI/resource that requires authentication,
423423
but no authentication details were sent (i.e. you returned ``null`` from
424424
``getCredentials()``). Your job is to return a

0 commit comments

Comments
 (0)