PHP Класс Sulu\Bundle\SecurityBundle\Security\AuthenticationEntryPoint
Returns a 401 status code for the API, and redirects to the login page for other requests.
Показать файл
Открыть проект
Открытые методы
Метод |
Описание |
|
__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 |
|
public start ( Request $request, Symfony\Component\Security\Core\Exception\AuthenticationException $authException = null ) |
$request |
Symfony\Component\HttpFoundation\Request |
|
$authException |
Symfony\Component\Security\Core\Exception\AuthenticationException |
|