public UserAuth::__construct(EntityManagerInterface $entity_manager, PasswordInterface $password_checker)
Constructs a UserAuth object.
Parameters
\Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity manager.
\Drupal\Core\Password\PasswordInterface $password_checker: The password service.
File
- core/modules/user/src/UserAuth.php, line 35
Class
- UserAuth
- Validates user authentication credentials.
Namespace
Drupal\user
Code
public function __construct(EntityManagerInterface $entity_manager, PasswordInterface $password_checker) { $this->entityManager = $entity_manager; $this->passwordChecker = $password_checker; }
Please login to continue.