UserProviderInterface
interface UserProviderInterface (View source)
Methods
UserInterface|null
retrieveById(
mixed $identifier)
Retrieve a user by their unique identifier.
UserInterface|null
retrieveByToken(
mixed $identifier,
string $token)
Retrieve a user by by their unique identifier and "remember me" token.
void
updateRememberToken(
UserInterface $user,
string $token)
Update the "remember me" token for the given user in storage.
UserInterface|null
retrieveByCredentials(
array $credentials)
Retrieve a user by the given credentials.
bool
validateCredentials(
UserInterface $user,
array $credentials)
Validate a user against the given credentials.
Details
at line line 11
UserInterface|null
retrieveById(
mixed $identifier)
Retrieve a user by their unique identifier.
at line line 20
UserInterface|null
retrieveByToken(
mixed $identifier,
string $token)
Retrieve a user by by their unique identifier and "remember me" token.
at line line 29
void
updateRememberToken(
UserInterface $user,
string $token)
Update the "remember me" token for the given user in storage.
at line line 37
UserInterface|null
retrieveByCredentials(
array $credentials)
Retrieve a user by the given credentials.
at line line 46
bool
validateCredentials(
UserInterface $user,
array $credentials)
Validate a user against the given credentials.