class GuardAuthenticationProvider implements AuthenticationProviderInterface
Responsible for accepting the PreAuthenticationGuardToken and calling the correct authenticator to retrieve the authenticated token.
| __construct(iterable|AuthenticatorInterface[] $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. |
| iterable|AuthenticatorInterface[] | $guardAuthenticators | The authenticators, with keys that match what's passed to GuardAuthenticationListener |
| UserProviderInterface | $userProvider | The user provider |
| string | $providerKey | The provider (i.e. firewall) key |
| UserCheckerInterface | $userChecker |
Finds the correct authenticator for the token and calls it.
| TokenInterface | $token | The TokenInterface instance to authenticate |
| TokenInterface | An authenticated TokenInterface instance, never null |
Checks whether this provider supports the given token.
| TokenInterface | $token |
| bool | true if the implementation supports the Token, false otherwise |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Security/Guard/Provider/GuardAuthenticationProvider.html