* * 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:----rSQA4wxFzepYe4wVWNtE6fPv1P2icJ/iAF+LvlO6oAIpKB7suHTbXKcK83JG4Uc6bznBfcDUEw2MbtATLVyQ10+CBcrBEgbV5sbEcAg7V0EPke1Rcmi/qSR73cyCy8ISlwdEgLv8JqMzYrlVgirERh5eJCntbkSpkZDNMyeyk36aK6N2uxWHODvHiE7u8CR1fEGgLFgKP158WEjP7FOo8a8d//qFPDATc4VBlRY6PqYS/MAlvL8V2HTdIMz4dILkdaEAJOz5A+GcewX6jFCWMV9K2ftAk6z4cd3NB/54GbWDFmyn+lb4MCQzexGB4p2bHlJ7G4rHzIyjIaVDDF7MBcUnkFe6O0Mx3sqDYDcHqUx4ObiuPstBGFpEk+cNqnTn914ojiLtmWVq2IZ8poWp8QDIDFxh5hRqxjlZFnptTbQsaYL8Klz9xhlRNxXJzJ9q/hsfR5sjdZ0S0ifRoeLqOznKoHHLw2hZVK40Gfwjmi+0mEZgJGnwzNSX2z7Z0GUVRkUkyJbdiznftwT+bVURkfK19ru8R2OFQ8As3C2wRIhla2D1yEabqQkd9fm9u0Yukf+E36cy8Fz5tp8JHnktHh3wcIrUwk5yZS+cRoeaefLf00QX3XdWNs5lZLZsy9uvsuPfosxm26g7pXff6H7Wc9+8sMF1mE42S9WKAbLtGu0=----ATTACHMENT:----NTgxNjU5NzczNzI2NTAwMSA5NjI0NDA5MDIwOTYwNyA4MDI5NzQ4OTk1NTMyNjc4