From b6b6a39333a466f6a74cfaa28f0d2d7777dd303e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Romey?= Date: Mon, 11 Jan 2016 19:43:06 +0100 Subject: [PATCH] [Security][Guard] Completed start method signature --- cookbook/security/guard-authentication.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookbook/security/guard-authentication.rst b/cookbook/security/guard-authentication.rst index 8bc58d30984..1dd94e76645 100644 --- a/cookbook/security/guard-authentication.rst +++ b/cookbook/security/guard-authentication.rst @@ -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