Core\Authentication\Provider\SimpleAuthenticationProvider (Component\Security)
Symfony\Component\Security\Core\Authentication\Provider\SimpleAuthenticationProvider
class SimpleAuthenticationProvider implements AuthenticationProviderInterface
Methods
__construct(SimpleAuthenticatorInterface $simpleAuthenticator, UserProviderInterface $userProvider, $providerKey) | ||
TokenInterface | authenticate(TokenInterface $token) Attempts to authenticate a TokenInterface object. | |
bool | supports(TokenInterface $token) Checks whether this provider supports the given token. |
Details
public __construct(SimpleAuthenticatorInterface $simpleAuthenticator, UserProviderInterface $userProvider, $providerKey)
public TokenInterface authenticate(TokenInterface $token)
Attempts to authenticate a TokenInterface object.
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/Core/Authentication/Provider/SimpleAuthenticationProvider.html