interface UserProvider (View source)
Authenticatable|null | retrieveById(mixed $identifier) Retrieve a user by their unique identifier. | |
Authenticatable|null | retrieveByToken(mixed $identifier, string $token) Retrieve a user by their unique identifier and "remember me" token. | |
void | updateRememberToken(Authenticatable $user, string $token) Update the "remember me" token for the given user in storage. | |
Authenticatable|null | retrieveByCredentials(array $credentials) Retrieve a user by the given credentials. | |
bool | validateCredentials(Authenticatable $user, array $credentials) Validate a user against the given credentials. |
Retrieve a user by their unique identifier.
Retrieve a user by their unique identifier and "remember me" token.
Update the "remember me" token for the given user in storage.
Retrieve a user by the given credentials.
Validate a user against the given credentials.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/8.x/Illuminate/Contracts/Auth/UserProvider.html