Guard\Provider\GuardAuthenticationProvider (Component\Security)
Symfony\Component\Security\Guard\Provider\GuardAuthenticationProvider
class GuardAuthenticationProvider implements AuthenticationProviderInterface
Responsible for accepting the PreAuthenticationGuardToken and calling the correct authenticator to retrieve the authenticated token.
Methods
__construct(array $guardAuthenticators, UserProviderInterface $userProvider, string $providerKey, UserCheckerInterface $userChecker) | ||
TokenInterface | authenticate(TokenInterface $token) Finds the correct authenticator for the token and calls it. | |
bool | supports(TokenInterface $token) Checks whether this provider supports the given token. |
Details
public __construct(array $guardAuthenticators, UserProviderInterface $userProvider, string $providerKey, UserCheckerInterface $userChecker)
public TokenInterface authenticate(TokenInterface $token)
Finds the correct authenticator for the token and calls it.
public bool supports(TokenInterface $token)
Checks whether this provider supports the given token.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.0/Symfony/Component/Security/Guard/Provider/GuardAuthenticationProvider.html