PHP Класс Sulu\Bundle\SecurityBundle\Security\AuthenticationEntryPoint

Returns a 401 status code for the API, and redirects to the login page for other requests.
Наследование: implements Symfony\Component\Security\Http\EntryPoint\AuthenticationEntryPointInterface
Показать файл Открыть проект

Открытые методы

Метод Описание
__construct ( Symfony\Component\Routing\Generator\UrlGeneratorInterface $urlGenerator )
start ( Request $request, Symfony\Component\Security\Core\Exception\AuthenticationException $authException = null )

Описание методов

__construct() публичный Метод

public __construct ( Symfony\Component\Routing\Generator\UrlGeneratorInterface $urlGenerator )
$urlGenerator Symfony\Component\Routing\Generator\UrlGeneratorInterface

start() публичный Метод

public start ( Request $request, Symfony\Component\Security\Core\Exception\AuthenticationException $authException = null )
$request Symfony\Component\HttpFoundation\Request
$authException Symfony\Component\Security\Core\Exception\AuthenticationException