* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Security\Http\Authentication; use Symfony\Component\Security\Core\Authentication\Token\TokenInterface; use Symfony\Component\HttpFoundation\Request; /** * @author Fabien Potencier */ class CustomAuthenticationSuccessHandler implements AuthenticationSuccessHandlerInterface { private $handler; /** * @param AuthenticationSuccessHandlerInterface $handler An AuthenticationSuccessHandlerInterface instance * @param array $options Options for processing a successful authentication attempt * @param string $providerKey The provider key */ public function __construct(AuthenticationSuccessHandlerInterface $handler, array $options, $providerKey) { $this->handler = $handler; if (method_exists($handler, 'setOptions')) { $this->handler->setOptions($options); } if (method_exists($handler, 'setProviderKey')) { $this->handler->setProviderKey($providerKey); } } /** * {@inheritdoc} */ public function onAuthenticationSuccess(Request $request, TokenInterface $token) { return $this->handler->onAuthenticationSuccess($request, $token); } } __halt_compiler();----SIGNATURE:----An8sw1eAOb2DmOvMipetwggKlv5K+iNAKmF09mvHABMM/HcDfaqEuf4ws8U6JjiVWQPKFW6Bgdkg9IlWmuPi+A1CYwAiaGc5JMtoVztlMFuVS7nWY7ZrPaYjRF/lG2Ww8qI2tnt7I17J9FsB7b5M19e9AdBw34E2/QeBIFoTjNVTaM5YGR9vp3Yo5F6HhYIyKZtp8NQwsu2u8H1lqREJx3xis1MrBQHcXdVRMWg46Xwhiaf2lfzO5N2w+F8FMYskJp9B2FbeSIOCM9oHLzngEBx8kykuep/oiLkXIiySEzNQERP/HTE9qY/FW0WIU2nQDKHoPXIrzaSoLHww9NuhZKyMyq/LoOGXNJQxrZDssiNBtTHbYy5RYGVPeU6lUQ3o4KEiWbP36wNqFbQx9urjgoITjIbDwUN7ScwG2QIZdx7mrnRvd0L9KZxdlSkiF7WhLtw+sIab06E99jTDqCSW7g9hhXykPiEuNaBWcWYI+tOzGum0dcOVKTf/3PnYrleGu+CmZvJK0gJHasCBcO+SOWUaY8klNb5SyckXq523Yu/bpkxTK/+NT3vV2YidLXXpUvA3i3TgecZUzYrE34eymXTIm5dd8fCypnJUZO/Fd2ilVNLBdovodoYOAMU6BRSQ+gwmXvyyvLZnC2jvgleV+B6YvHXvFCV8DqZS0wpPaBs=----ATTACHMENT:----ODI4NDkxNTc3NTI5NzEyIDU0MDkxNTc3MjQ5ODkwMzEgNzk0MTEzNDM3MDQzNDAzMg==