* * 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:----arx1c/vr0S9HA/wsNY9QauHi4F59gs06hz1MEZLb6hRS8DNhKIzgN0ULo8o6PelbwnhRzBg/rlrsHbWDOLCCYCIPP6Muufd7olz8QdvcQkt6cJx8iOKUKWk+SWXCPTqkWTSmsWAKF6SRfquGj1hu6GvwVM+5f98pakshrTYBIdzDL9vmaC+t2aBbsjU744GI3uk61JDg6POy6vWBbtT9BAjcJIxXvMhow/2EHV65O4Ljlz5Hf3CTcmhfhFqBJ47FUsHk2PJjg6r4i6C3DUS6aou5mWe1FnKFE1y35b0b7FNZnBHEvMaHLVUtWCI7J6UWdxEnfrxED0dwKUl4oOudFJEh5n/P7E0BTR0pMDPQ6eYZG9TUCPQIhJV+qbxuoSH1ZPfwa9QyARGc39YSl4Z5xtBNRpP0Jqi6vpjNoF6u+VF4MG4CrlJn8fkupmAl1Q5Sz+UyUBHl7Vvg0AE8XR9H8w22rgL12QulGyh2z7fB3XS7h/oCYKXD5mECEsNuPNZuN5jrDfNoKFWF2SpUkLX56sa8XOFtlCistNOJXR9tsWW07bBB9af8kFb056apsbIj44Fuw4I8IKn6yKemXiQHrYKrYMD7TufS9GFi0iv7hmif3zdc7RzgtsUf6/nmAxfN4isXVGXVKgHlbSa6LX7N4PpVQ9hipwqEMw1rpjucEUE=----ATTACHMENT:----ODU4MDE5MTE1MzkyNTMzMCA3NDg5MTg0OTA1NDQ3MjQwIDcwMDk1MDg0MjEwMDA0MjE=