Symfony\Component\Security\Core\Authentication\Provider\UserAuthenticationProvider::retrieveUser
Retrieves the user from an implementation-specific location.
Signature
protected function retrieveUser(string
$username,
UsernamePasswordToken
$token )
Parameters
$username
— string- The username to retrieve
$token
— Symfony\Component\Security\Core\Authentication\Token\UsernamePasswordToken- The Token
Returns
- UserInterface
- The user
Errors/Exceptions
-
AuthenticationException
- if the credentials could not be validated