Password.php 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <?php
  2. namespace Illuminate\Support\Facades;
  3. /**
  4. * @see \Illuminate\Auth\Passwords\PasswordBroker
  5. */
  6. class Password extends Facade
  7. {
  8. /**
  9. * Constant representing a successfully sent reminder.
  10. *
  11. * @var string
  12. */
  13. const RESET_LINK_SENT = 'passwords.sent';
  14. /**
  15. * Constant representing a successfully reset password.
  16. *
  17. * @var string
  18. */
  19. const PASSWORD_RESET = 'passwords.reset';
  20. /**
  21. * Constant representing the user not found response.
  22. *
  23. * @var string
  24. */
  25. const INVALID_USER = 'passwords.user';
  26. /**
  27. * Constant representing an invalid password.
  28. *
  29. * @var string
  30. */
  31. const INVALID_PASSWORD = 'passwords.password';
  32. /**
  33. * Constant representing an invalid token.
  34. *
  35. * @var string
  36. */
  37. const INVALID_TOKEN = 'passwords.token';
  38. /**
  39. * Get the registered name of the component.
  40. *
  41. * @return string
  42. */
  43. protected static function getFacadeAccessor()
  44. {
  45. return 'auth.password';
  46. }
  47. }