You are here

public function SDKConnector::getOrganization in Apigee Edge 8

Gets the organization.

Return value

string The organization.

Overrides SDKConnectorInterface::getOrganization

File

src/SDKConnector.php, line 156

Class

SDKConnector
Provides an Apigee Edge SDK connector.

Namespace

Drupal\apigee_edge

Code

public function getOrganization() : string {
  $credentials = $this
    ->getCredentials();
  return $credentials
    ->getKeyType()
    ->getOrganization($credentials
    ->getKey());
}