UserProvider

UserProvider

interface UserProvider (View source)

Methods

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.

doc_Laravel
2016-11-02 16:44:30
Comments
Leave a Comment

Please login to continue.