You are here

public function AuthDecorator::__construct in Mail Login 8.2

Constructs a UserAuth object.

Parameters

\Drupal\user\UserAuthInterface $user_auth: The original user authentication service.

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_managerk: The entity type manager.

File

src/AuthDecorator.php, line 37

Class

AuthDecorator
Validates user authentication credentials.

Namespace

Drupal\mail_login

Code

public function __construct(UserAuthInterface $user_auth, EntityTypeManagerInterface $entity_type_manager) {
  $this->userAuth = $user_auth;
  $this->entityTypeManager = $entity_type_manager;
}