You are here

public function OAuthDrupalProvider::__construct in OAuth 1.0 8

Same name and namespace in other branches
  1. 8.2 src/Authentication/Provider/OAuthDrupalProvider.php \Drupal\oauth\Authentication\Provider\OAuthDrupalProvider::__construct()

Constructor.

Parameters

\Psr\Log\LoggerInterface $logger: The logger service for OAuth.

File

src/Authentication/Provider/OAuthDrupalProvider.php, line 51
Contains \Drupal\oauth\Authentication\Provider\OAuthProvider.

Class

OAuthDrupalProvider
Oauth authentication provider.

Namespace

Drupal\oauth\Authentication\Provider

Code

public function __construct(Connection $connection, LoggerInterface $logger) {
  $this->connection = $connection;
  $this->logger = $logger;
}