final class TeamAppCredentialController in Apigee Edge 8
Definition of the team app credential controller service.
This integrates the Management API's Company app credential controller from the SDK's with Drupal.
Hierarchy
- class \Drupal\apigee_edge\Entity\Controller\AppCredentialControllerBase implements AppCredentialControllerInterface
- class \Drupal\apigee_edge_teams\Entity\Controller\TeamAppCredentialController implements TeamAppCredentialControllerInterface
Expanded class hierarchy of TeamAppCredentialController
File
- modules/
apigee_edge_teams/ src/ Entity/ Controller/ TeamAppCredentialController.php, line 34
Namespace
Drupal\apigee_edge_teams\Entity\ControllerView source
final class TeamAppCredentialController extends AppCredentialControllerBase implements TeamAppCredentialControllerInterface {
/**
* {@inheritdoc}
*/
protected function decorated() : EdgeAppCredentialController {
if (!isset($this->instances[$this->owner][$this->appName])) {
$this->instances[$this->owner][$this->appName] = new CompanyAppCredentialController($this->connector
->getOrganization(), $this->owner, $this->appName, $this->connector
->getClient());
}
return $this->instances[$this->owner][$this->appName];
}
/**
* {@inheritdoc}
*/
protected function getAppType() : string {
return AbstractAppCredentialEvent::APP_TYPE_TEAM;
}
}