public function EdgeKeyTypeBase::getAuthorizationServer in Apigee Edge 8
Gets the authorization server.
Parameters
\Drupal\key\KeyInterface $key: The key entity.
Return value
string The authorization server.
Overrides EdgeKeyTypeInterface::getAuthorizationServer
1 call to EdgeKeyTypeBase::getAuthorizationServer()
- ApigeeAuthKeyType::getAuthenticationMethod in src/Plugin/ KeyType/ ApigeeAuthKeyType.php 
- Gets the authentication method object.
File
- src/Plugin/ EdgeKeyTypeBase.php, line 143 
Class
- EdgeKeyTypeBase
- Defines a base class for Apigee Edge Key Type plugins.
Namespace
Drupal\apigee_edge\PluginCode
public function getAuthorizationServer(KeyInterface $key) : string {
  return $key
    ->getKeyValues()['authorization_server'] ?? Oauth::DEFAULT_AUTHORIZATION_SERVER;
}