You are here

public function Credentials::getKey in Apigee Edge 8

Gets the key entity which stores the API credentials.

Return value

\Drupal\key\KeyInterface The key entity which stores the API credentials.

Overrides CredentialsInterface::getKey

File

src/Credentials.php, line 76

Class

Credentials
The API credentials.

Namespace

Drupal\apigee_edge

Code

public function getKey() : KeyInterface {
  return $this->key;
}