You are here

class HybridAuthentication in Apigee Edge 8

Decorator for Hybrid authentication plugin.

Hierarchy

  • class \Drupal\apigee_edge\Connector\HybridAuthentication extends \Apigee\Edge\HttpClient\Plugin\Authentication\ApigeeOnGcpOauth2

Expanded class hierarchy of HybridAuthentication

1 file declares its use of HybridAuthentication
ApigeeAuthKeyType.php in src/Plugin/KeyType/ApigeeAuthKeyType.php

File

src/Connector/HybridAuthentication.php, line 30

Namespace

Drupal\apigee_edge\Connector
View source
class HybridAuthentication extends ApigeeOnGcpOauth2 {

  /**
   * {@inheritdoc}
   */
  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());
  }

}

Members