PreAuthenticatedUserBadge.php 788 B

12345678910111213141516171819202122232425262728293031323334
  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\Http\Authenticator\Passport\Badge;
  11. use Symfony\Component\Security\Http\Authenticator\AbstractPreAuthenticatedAuthenticator;
  12. /**
  13. * Marks the authentication as being pre-authenticated.
  14. *
  15. * This disables pre-authentication user checkers.
  16. *
  17. * @see AbstractPreAuthenticatedAuthenticator
  18. *
  19. * @author Wouter de Jong <wouter@wouterj.nl>
  20. *
  21. * @final
  22. * @experimental in 5.2
  23. */
  24. class PreAuthenticatedUserBadge implements BadgeInterface
  25. {
  26. public function isResolved(): bool
  27. {
  28. return true;
  29. }
  30. }