vendor/symfony/security-guard/PasswordAuthenticatedInterface.php line 14

Open in your IDE?
  1. <?php
  2. /*
  3. * This file is part of the Symfony package.
  4. *
  5. * (c) Fabien Potencier <[email protected]>
  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\Guard;
  11. trigger_deprecation('symfony/security-guard', '5.3', 'The "%s" class is deprecated, use the new authenticator system instead.', PasswordAuthenticatedInterface::class);
  12. /**
  13. * An optional interface for "guard" authenticators that deal with user passwords.
  14. *
  15. * @deprecated since Symfony 5.3, use the new authenticator system instead
  16. */
  17. interface PasswordAuthenticatedInterface
  18. {
  19. /**
  20. * Returns the clear-text password contained in credentials if any.
  21. *
  22. * @param mixed $credentials The user credentials
  23. */
  24. public function getPassword($credentials): ?string;
  25. }