You are here

public function DebugController::__construct in Simple OAuth (OAuth2) & OpenID Connect 8.4

Same name and namespace in other branches
  1. 5.x src/Controller/DebugController.php \Drupal\simple_oauth\Controller\DebugController::__construct()

Oauth2Token constructor.

Parameters

\Drupal\user\PermissionHandlerInterface $user_permissions: The user permissions.

File

src/Controller/DebugController.php, line 29

Class

DebugController
The controller for the debug route.

Namespace

Drupal\simple_oauth\Controller

Code

public function __construct(PermissionHandlerInterface $user_permissions) {
  $this->userPermissions = $user_permissions;
}