You are here

class GceServiceAccountAuthentication in Apigee Edge 8

Decorator for Hybrid authentication plugin.

Hierarchy

Expanded class hierarchy of GceServiceAccountAuthentication

2 files declare their use of GceServiceAccountAuthentication
ApigeeAuthKeyInput.php in src/Plugin/KeyInput/ApigeeAuthKeyInput.php
ApigeeAuthKeyType.php in src/Plugin/KeyType/ApigeeAuthKeyType.php

File

src/Connector/GceServiceAccountAuthentication.php, line 29

Namespace

Drupal\apigee_edge\Connector
View source
class GceServiceAccountAuthentication extends GceServiceAccount {

  /**
   * {@inheritdoc}
   */
  protected function authClient() : ClientInterface {

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

}

Members