AuthenticationManagerInterface
interface AuthenticationManagerInterface
AuthenticationManagerInterface is the interface for authentication managers, which process Token authentication.
Methods
| TokenInterface | authenticate(TokenInterface $token) Attempts to authenticate a TokenInterface object. |
Details
TokenInterface authenticate(TokenInterface $token)
Attempts to authenticate a TokenInterface object.
Parameters
| TokenInterface | $token | The TokenInterface instance to authenticate |
Return Value
| TokenInterface | An authenticated TokenInterface instance, never null |
Exceptions
| AuthenticationException | if the authentication fails |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/4.0/Symfony/Component/Security/Core/Authentication/AuthenticationManagerInterface.html