You are here

public function AccessTokenIssue::__construct in Simple OAuth (OAuth2) & OpenID Connect 8

Parameters

\Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity manager service.

File

src/Controller/AccessTokenIssue.php, line 36

Class

AccessTokenIssue

Namespace

Drupal\simple_oauth\Controller

Code

public function __construct(EntityManagerInterface $entity_manager, UserAuthInterface $user_auth, JsonResponse $response) {
  $this->entityManager = $entity_manager;
  $this->userAuth = $user_auth;
  $this->response = $response;
}