UserInterface|null getUser(mixed $credentials, UserProviderInterface $userProvider)
Return a UserInterface object based on the credentials.
The credentials are the return value from getCredentials()
You may throw an AuthenticationException if you wish. If you return null, then a UsernameNotFoundException is thrown for you.
Please login to continue.