Spec-Zone.ru › Symfony 4.1

CustomAuthenticationSuccessHandler

class CustomAuthenticationSuccessHandler implements AuthenticationSuccessHandlerInterface

Методы

__construct(AuthenticationSuccessHandlerInterface $handler, array $options, string $providerKey)
Response onAuthenticationSuccess(Request $request, TokenInterface $token)

Вызывается, когда попытка интерактивной аутентификации завершается успешно. Вызывается слушателями аутентификации, наследующими от AbstractAuthenticationListener.

Подробности

__construct(AuthenticationSuccessHandlerInterface $handler, array $options, string $providerKey)

Параметры

AuthenticationSuccessHandlerInterface $handler Экземпляр AuthenticationSuccessHandlerInterface
array $options Параметры для обработки успешной попытки аутентификации
string $providerKey Ключ поставщика

Response onAuthenticationSuccess(Request $request, TokenInterface $token)

Вызывается, когда попытка интерактивной аутентификации завершается успешно. Вызывается слушателями аутентификации, наследующими от AbstractAuthenticationListener.

Параметры

Request $request
TokenInterface $token

Возвращаемое значение

Response никогда не null

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/2.7/Symfony/Component/Security/Http/Authentication/CustomAuthenticationSuccessHandler.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API