The entity manager. Type:
The password hashing service. Type:
public UserAuth::authenticate($username, $password)
Validates user authentication credentials. Hierarchy class \Drupal\user\
public UserAuth::__construct(EntityManagerInterface $entity_manager, PasswordInterface