You are here

public function W3CTokenAuth::__construct in W3C Validator 8

Constructs a W3CSubscriber object.

Parameters

\Drupal\w3c_validator\W3CTokenManager $w3c_token_manager: The form builder service.

\Psr\Log\LoggerInterface $logger: A logger instance.

File

src/Authentication/Provider/W3CTokenAuth.php, line 38

Class

W3CTokenAuth
Oauth authentication provider.

Namespace

Drupal\w3c_validator\Authentication\Provider

Code

public function __construct(W3CTokenManager $w3c_token_manager, LoggerInterface $logger) {
  $this->w3cTokenManager = $w3c_token_manager;
  $this->logger = $logger;
}