CustomAuthenticationFailureHandler
class CustomAuthenticationFailureHandler implements AuthenticationFailureHandlerInterface
Методы
| __construct(AuthenticationFailureHandlerInterface $handler, array $options) | ||
| Response | onAuthenticationFailure(Request $request, AuthenticationException $exception) Вызывается при неудачной попытке интерактивной аутентификации. Вызывается слушателями аутентификации, унаследованными от AbstractAuthenticationListener. |
Детали
__construct(AuthenticationFailureHandlerInterface $handler, array $options)
Параметры
| AuthenticationFailureHandlerInterface | $handler | Экземпляр AuthenticationFailureHandlerInterface |
| array | $options | Параметры для обработки успешной попытки аутентификации |
Response onAuthenticationFailure(Request $request, AuthenticationException $exception)
Вызывается при неудачной попытке интерактивной аутентификации. Вызывается слушателями аутентификации, унаследованными от AbstractAuthenticationListener.
Параметры
| Request | $request | |
| AuthenticationException | $exception |
Возвращаемое значение
| Response | Возвращаемый ответ, никогда не null |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/2.7/Symfony/Component/Security/Http/Authentication/CustomAuthenticationFailureHandler.html