Authenticatable.php 948 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <?php
  2. namespace Illuminate\Contracts\Auth;
  3. interface Authenticatable
  4. {
  5. /**
  6. * Get the name of the unique identifier for the user.
  7. *
  8. * @return string
  9. */
  10. public function getAuthIdentifierName();
  11. /**
  12. * Get the unique identifier for the user.
  13. *
  14. * @return mixed
  15. */
  16. public function getAuthIdentifier();
  17. /**
  18. * Get the password for the user.
  19. *
  20. * @return string
  21. */
  22. public function getAuthPassword();
  23. /**
  24. * Get the token value for the "remember me" session.
  25. *
  26. * @return string
  27. */
  28. public function getRememberToken();
  29. /**
  30. * Set the token value for the "remember me" session.
  31. *
  32. * @param string $value
  33. * @return void
  34. */
  35. public function setRememberToken($value);
  36. /**
  37. * Get the column name for the "remember me" token.
  38. *
  39. * @return string
  40. */
  41. public function getRememberTokenName();
  42. }