Deprecated: Constant E_STRICT is deprecated in /home/pastorz/old-espace-client/vendor/symfony/error-handler/ErrorHandler.php on line 58

Deprecated: Constant E_STRICT is deprecated in /home/pastorz/old-espace-client/vendor/symfony/error-handler/ErrorHandler.php on line 76
Symfony Profiler

vendor/symfony/security-core/Authentication/AuthenticationTrustResolverInterface.php line 43

Open in your IDE?
  1. <?php
  2. /*
  3.  * This file is part of the Symfony package.
  4.  *
  5.  * (c) Fabien Potencier <fabien@symfony.com>
  6.  *
  7.  * For the full copyright and license information, please view the LICENSE
  8.  * file that was distributed with this source code.
  9.  */
  10. namespace Symfony\Component\Security\Core\Authentication;
  11. use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
  12. /**
  13.  * Interface for resolving the authentication status of a given token.
  14.  *
  15.  * @author Johannes M. Schmitt <schmittjoh@gmail.com>
  16.  *
  17.  * @method bool isAuthenticated(TokenInterface $token = null)
  18.  */
  19. interface AuthenticationTrustResolverInterface
  20. {
  21.     /**
  22.      * Resolves whether the passed token implementation is authenticated
  23.      * anonymously.
  24.      *
  25.      * If null is passed, the method must return false.
  26.      *
  27.      * @return bool
  28.      *
  29.      * @deprecated since Symfony 5.4, use !isAuthenticated() instead
  30.      */
  31.     public function isAnonymous(TokenInterface $token null);
  32.     /**
  33.      * Resolves whether the passed token implementation is authenticated
  34.      * using remember-me capabilities.
  35.      *
  36.      * @return bool
  37.      */
  38.     public function isRememberMe(TokenInterface $token null);
  39.     /**
  40.      * Resolves whether the passed token implementation is fully authenticated.
  41.      *
  42.      * @return bool
  43.      */
  44.     public function isFullFledged(TokenInterface $token null);
  45. }