You are here

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

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

Oauth2Token constructor.

Parameters

\Drupal\user\PermissionHandlerInterface $user_permissions:

File

simple_oauth_extras/src/Controller/DebugController.php, line 23

Class

DebugController

Namespace

Drupal\simple_oauth_extras\Controller

Code

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