PHP 8.2.30
Preview: AuthenticationSuccessHandlerInterface.php Size: 1.21 KB
/opt/cloudlinux/alt-php53/root/usr/share/pear/Symfony/Component/Security/Http/Authentication/AuthenticationSuccessHandlerInterface.php

<?php

/*
 * This file is part of the Symfony package.
 *
 * (c) Fabien Potencier <fabien@symfony.com>
 *
 * 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;
use Symfony\Component\HttpFoundation\Response;

/**
 * Interface for a custom authentication success handler
 *
 * If you want to customize the success handling process, instead of
 * overwriting the respective listener globally, you can set a custom success
 * handler which implements this interface.
 *
 * @author Johannes M. Schmitt <schmittjoh@gmail.com>
 */
interface AuthenticationSuccessHandlerInterface
{
    /**
     * This is called when an interactive authentication attempt succeeds. This
     * is called by authentication listeners inheriting from
     * AbstractAuthenticationListener.
     *
     * @param Request        $request
     * @param TokenInterface $token
     *
     * @return Response never null
     */
    public function onAuthenticationSuccess(Request $request, TokenInterface $token);
}

Directory Contents

Dirs: 0 × Files: 5

Name Size Perms Modified Actions
1.26 KB lrw-r--r-- 2019-12-18 11:20:42
Edit Download
1.21 KB lrw-r--r-- 2019-12-18 11:20:42
Edit Download
3.21 KB lrw-r--r-- 2019-12-18 11:20:42
Edit Download
3.06 KB lrw-r--r-- 2019-12-18 11:20:42
Edit Download
4.15 KB lrw-r--r-- 2019-12-18 11:20:42
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).