UserAuth::__construct

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;
}
doc_Drupal
2016-10-29 09:52:14
Comments
Leave a Comment

Please login to continue.