diff options
Diffstat (limited to 'Authentication/AuthenticationManagerInterface.php')
-rw-r--r-- | Authentication/AuthenticationManagerInterface.php | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/Authentication/AuthenticationManagerInterface.php b/Authentication/AuthenticationManagerInterface.php deleted file mode 100644 index 10625c7..0000000 --- a/Authentication/AuthenticationManagerInterface.php +++ /dev/null @@ -1,35 +0,0 @@ -<?php - -/* - * This file is part of the Symfony package. - * - * (c) Fabien Potencier <fabien.potencier@symfony-project.com> - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace Symfony\Component\Security\Authentication; - -use Symfony\Component\Security\Authentication\Token\TokenInterface; -use Symfony\Component\Security\Exception\AuthenticationException; - -/** - * AuthenticationManagerInterface is the interface for authentication managers, - * which process Token authentication. - * - * @author Fabien Potencier <fabien.potencier@symfony-project.com> - */ -interface AuthenticationManagerInterface -{ - /** - * Attempts to authenticates a TokenInterface object. - * - * @param TokenInterface $token The TokenInterface instance to authenticate - * - * @return TokenInterface An authenticated TokenInterface instance - * - * @throws AuthenticationException if the authentication fails - */ - function authenticate(TokenInterface $token); -} |