* * 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:----JgkRI6TcHLxetwuNcVyXATT/q3AOa67byAEBCHCjBpyke6gu+rez/ac6EeD7HdQJKug70m4mMd51VznHCFYvW2DUi4ytlKTuq/DnNh707yw97/UEtsKDzsZqdXo2hemINHi6sJNIeoXmUdoB2X5lHAnRMUeOb1SslU6CUuHvrEpJRBiVeQvyjjgS90hKPzhPXg0u3fJV8eCxPQElMSppb85uBr2nQ6MkVz7VCESrRnp/48FcROs2s40jhW/2DxLIeOr70GfdUw1tTSQSIy/TcIARplcjuqXparxjjsrQ64z0O/4DrQlQl+5vXfVK7ddlwUL56KwmpwzD3IbqXXror60ILBQofPE4bumdd/dx5j+kBgnKIC9tn+PbiG1lMXLEzpaTg3mVFtlaCG0ilJhRpvYATZa2vBcmWwqRlEWM7G9S7uQrAuDZHCMkHgzdDsxLXA4w1AYjC1zg6duUFqsxeUJrVrAAAV3CaUEdtLDWdhKBdYHWl0jDA8Yi5ITlcZ4mByfITcrWcY1Xj3gN9kyF43l27L3tZPORiipCsRlPZXCq/shlPHNvKfrZ4IkGB5971g2/hyF9AC5osPp/0bPIr5qmWTMFMUHZEKIY/OPmjGUqdMJBYunvmYawnHcMOUagCXmTg2LNKf28UCaLdg458CVm8pAhwNZ4HH4sS9bpDWg=----ATTACHMENT:----NDU2MTMyNTkxNDc3NTAxMiAxNjEzNDk5NjUyMzM4OTcyIDc2NDI0MTUxNTg2Mjg1Njc=