* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Security\Http\EntryPoint; use Symfony\Component\Security\Core\Exception\AuthenticationException; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; /** * Implement this interface for any classes that will be called to "start" * the authentication process (see method for more details). * * @author Fabien Potencier */ interface AuthenticationEntryPointInterface { /** * Returns a response that directs the user to authenticate. * * This is called when an anonymous request accesses a resource that * requires authentication. The job of this method is to return some * response that "helps" the user start into the authentication process. * * Examples: * A) For a form login, you might redirect to the login page * return new RedirectResponse('/login'); * B) For an API token authentication system, you return a 401 response * return new Response('Auth header required', 401); * * @param Request $request The request that resulted in an AuthenticationException * @param AuthenticationException $authException The exception that started the authentication process * * @return Response */ public function start(Request $request, AuthenticationException $authException = null); } __halt_compiler();----SIGNATURE:----bL7twnZRLGR5lThUJZ1+GgmOb0x0aI/A7vPuF8Ki8p1YwEDyf9GTVFaJvKxy4oSKoXpKhSPe0GdM19bTEWjWbtINMf0eMvOUMlL8R90ukoKbtjHRNTzDhiFGfMX0dDYiKqydTHotbQV7ixVtVYlSV0jT/zzDbGLCfb4EX60wIcHHz2w/zBBvVN9Bd/e/T5Fv+QINQNZ3Ik7IjhCxJW5xlHgpr+9iBGSWCy/YgtdFU8LUeSpjgkmu1/UWhg+iwku6RnY98jscqV8XVyEvTzsRnphCBPojWPxqiEPfhbWZHdQ7wlA5B4PcOHEqePZfeGm3h6iDNsMof6HzJNAQYy5OURKDH7CDNqv1gzdfeuNNVhiTBDskoiKcXe8ZRL+VaSIoQiuNfXHD829livlfP1+c/z0DCfAJ/apEn82t6wdO045E+yJw+rQ5lNW19CBnZtP/AB0Ea3hoeBnO6uSydNTWwf/30dHFyMmNYivbhIWAjFfIldK8kcQcTi8Rk8nA1XkmESksbmOA3y/l7XOceY+mPqXJFpMJjhFZxDHH4MO0facbNZ7DnZJFF2LeCiN3hz/RZzI2f82m0lAFyMT0bSYdahc1+giuKbo5akIP67I9pLWNaN9+UvCWXDS9npraCZhBBnplnQEGVjjce1AU7sMPXv1DZpWwHwmoBQyQbfcMg28=----ATTACHMENT:----NDExMzA3NjMwMjQ5ODcyMSAxNDg5NjU1NTQxNjgxOTM2IDMxMjE1NTE0MDU4NjUxNTQ=