W3cubDocs

/Laravel 8

Authenticatable

trait Authenticatable (View source)

Properties

protected string $rememberTokenName The column name of the "remember me" token.

Methods

string getAuthIdentifierName()

Get the name of the unique identifier for the user.

mixed getAuthIdentifier()

Get the unique identifier for the user.

string getAuthPassword()

Get the password for the user.

string|null getRememberToken()

Get the token value for the "remember me" session.

void setRememberToken(string $value)

Set the token value for the "remember me" session.

string getRememberTokenName()

Get the column name for the "remember me" token.

Details

string getAuthIdentifierName()

Get the name of the unique identifier for the user.

Return Value

string

mixed getAuthIdentifier()

Get the unique identifier for the user.

Return Value

mixed

string getAuthPassword()

Get the password for the user.

Return Value

string

string|null getRememberToken()

Get the token value for the "remember me" session.

Return Value

string|null

void setRememberToken(string $value)

Set the token value for the "remember me" session.

Parameters

string $value

Return Value

void

string getRememberTokenName()

Get the column name for the "remember me" token.

Return Value

string

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/8.x/Illuminate/Auth/Authenticatable.html