Symfony\Component\Security\Core\Authentication\AuthenticationManagerInterface::authenticate
Attempts to authenticates a TokenInterface object.
Signature
public function authenticate(TokenInterface
$token )
Parameters
$token
— Symfony\Component\Security\Core\Authentication\Token\TokenInterface- The TokenInterface instance to authenticate
Returns
- TokenInterface
- An authenticated TokenInterface instance, never null
Errors/Exceptions
-
AuthenticationException
- if the authentication fails