AbstractGuardAuthenticator
class AbstractGuardAuthenticator implements GuardAuthenticatorInterface
Необязательный базовый класс, который создаёт для вас объект PostAuthenticationGuardToken.
Методы
| GuardTokenInterface | createAuthenticatedToken(UserInterface $user, string $providerKey) Сокращённая запись для создания объекта PostAuthenticationGuardToken для вас, если вас не интересует, какой именно аутентифицированный токен используется. |
Подробности
GuardTokenInterface createAuthenticatedToken(UserInterface $user, string $providerKey)
Сокращённая запись для создания объекта PostAuthenticationGuardToken для вас, если вас не интересует, какой именно аутентифицированный токен используется.
Параметры
| UserInterface | $user | |
| string | $providerKey | Ключ провайдера (т.е. файрвола) |
Возвращаемое значение
| GuardTokenInterface |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.2/Symfony/Component/Security/Guard/AbstractGuardAuthenticator.html