Permalink
Cannot retrieve contributors at this time
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
49 lines (42 sloc)
948 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Illuminate\Contracts\Auth; | |
interface Authenticatable | |
{ | |
/** | |
* Get the name of the unique identifier for the user. | |
* | |
* @return string | |
*/ | |
public function getAuthIdentifierName(); | |
/** | |
* Get the unique identifier for the user. | |
* | |
* @return mixed | |
*/ | |
public function getAuthIdentifier(); | |
/** | |
* Get the password for the user. | |
* | |
* @return string | |
*/ | |
public function getAuthPassword(); | |
/** | |
* Get the token value for the "remember me" session. | |
* | |
* @return string | |
*/ | |
public function getRememberToken(); | |
/** | |
* Set the token value for the "remember me" session. | |
* | |
* @param string $value | |
* @return void | |
*/ | |
public function setRememberToken($value); | |
/** | |
* Get the column name for the "remember me" token. | |
* | |
* @return string | |
*/ | |
public function getRememberTokenName(); | |
} |