Skip to content

Commit

Permalink
minor symfony#6130 [Security][Guard] Completed start method signature…
Browse files Browse the repository at this point in the history
… (jeremyFreeAgent)

This PR was submitted for the master branch but it was merged into the 2.8 branch instead (closes symfony#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
  • Loading branch information
xabbuh committed Jan 18, 2016
2 parents 24e2da6 + b6b6a39 commit 2d31a0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cookbook/security/guard-authentication.rst
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ Each authenticator needs the following methods:
object that should be sent to the client. The ``$exception`` will tell you
*what* went wrong during authentication.

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

0 comments on commit 2d31a0f

Please sign in to comment.