RetryAuthenticationEntryPoint
class RetryAuthenticationEntryPoint implements AuthenticationEntryPointInterface
RetryAuthenticationEntryPoint перенаправляет URL в зависимости от настроенной схемы.
Этот пункт входа не предназначен для работы с HTTP-запросами POST.
Методы
| __construct($httpPort = 80, $httpsPort = 443) | ||
| Response | start(Request $request, AuthenticationException $authException = null) Запускает схему аутентификации. |
Подробности
__construct($httpPort = 80, $httpsPort = 443)
Параметры
| $httpPort | ||
| $httpsPort |
Response start(Request $request, AuthenticationException $authException = null)
Запускает схему аутентификации.
Параметры
| Request | $request | Запрос, который привёл к AuthenticationException |
| AuthenticationException | $authException | Исключение, которое инициировало процесс аутентификации |
Значение, возвращаемое функцией
| Response |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/2.7/Symfony/Component/Security/Http/EntryPoint/RetryAuthenticationEntryPoint.html