GenericUser
class GenericUser implements Authenticatable (View source)
Properties
protected array | $attributes | All of the user's attributes. |
Methods
void | __construct(array $attributes) Create a new generic User object. | |
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 | getRememberToken() Get the "remember me" token value. | |
void | setRememberToken(string $value) Set the "remember me" token value. | |
string | getRememberTokenName() Get the column name for the "remember me" token. | |
mixed | __get(string $key) Dynamically access the user's attributes. | |
void | __set(string $key, mixed $value) Dynamically set an attribute on the user. | |
bool | __isset(string $key) Dynamically check if a value is set on the user. | |
void | __unset(string $key) Dynamically unset a value on the user. |
Details
void __construct(array $attributes)
Create a new generic User object.
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 getRememberToken()
Get the "remember me" token value.
void setRememberToken(string $value)
Set the "remember me" token value.
string getRememberTokenName()
Get the column name for the "remember me" token.
mixed __get(string $key)
Dynamically access the user's attributes.
void __set(string $key, mixed $value)
Dynamically set an attribute on the user.
bool __isset(string $key)
Dynamically check if a value is set on the user.
void __unset(string $key)
Dynamically unset a value on the user.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/7.x/Illuminate/Auth/GenericUser.html