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