Core\Authentication\Provider\AuthenticationProviderInterface (Component\Security)
Symfony\Component\Security\Core\Authentication\Provider\AuthenticationProviderInterface
interface AuthenticationProviderInterface implements AuthenticationManagerInterface
AuthenticationProviderInterface is the interface for all authentication providers.
Concrete implementations processes specific Token instances.
Methods
TokenInterface | authenticate(TokenInterface $token) Attempts to authenticate a TokenInterface object. | from AuthenticationManagerInterface |
bool | supports(TokenInterface $token) Checks whether this provider supports the given token. |
Details
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/AuthenticationProviderInterface.html