You are here

protected function HybridAuthentication::authClient in Apigee Edge 8

File

src/Connector/HybridAuthentication.php, line 35

Class

HybridAuthentication
Decorator for Hybrid authentication plugin.

Namespace

Drupal\apigee_edge\Connector

Code

protected function authClient() : ClientInterface {

  /** @var \Drupal\apigee_edge\SDKConnectorInterface $sdk_connector */
  $sdk_connector = \Drupal::service('apigee_edge.sdk_connector');
  return $sdk_connector
    ->buildClient(new NullAuthentication(), $this
    ->getAuthServer());
}