You are here

public function ClientCredentials::__construct in Commerce PayPal 8

Constructs a new ClientCredentials object.

Parameters

\GuzzleHttp\ClientInterface $client: The client.

array $config: The configuration.

\Drupal\Core\State\StateInterface $state: The state service.

File

src/ClientCredentials.php, line 31

Class

ClientCredentials
Client credentials grant type.

Namespace

Drupal\commerce_paypal

Code

public function __construct(ClientInterface $client, array $config, StateInterface $state) {
  parent::__construct($client, $config);
  $this->state = $state;
}