Guard\AbstractGuardAuthenticator (Component\Security)
Symfony\Component\Security\Guard\AbstractGuardAuthenticator
abstract class AbstractGuardAuthenticator implements GuardAuthenticatorInterface
An optional base class that creates a PostAuthenticationGuardToken for you.
Methods
PostAuthenticationGuardToken | createAuthenticatedToken(UserInterface $user, string $providerKey) Shortcut to create a PostAuthenticationGuardToken for you, if you don't really care about which authenticated token you're using. |
Details
public PostAuthenticationGuardToken createAuthenticatedToken(UserInterface $user, string $providerKey)
Shortcut to create a PostAuthenticationGuardToken for you, if you don't really care about which authenticated token you're using.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.0/Symfony/Component/Security/Guard/AbstractGuardAuthenticator.html