class GceServiceAccountAuthentication in Apigee Edge 8
Decorator for Hybrid authentication plugin.
Hierarchy
- class \Drupal\apigee_edge\Connector\GceServiceAccountAuthentication extends \Apigee\Edge\HttpClient\Plugin\Authentication\GceServiceAccount
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\ConnectorView 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
GceServiceAccountAuthentication:: |
protected | function |