You are here

final class DeveloperAppCredentialController in Apigee Edge 8

Definition of the developer app credential controller service.

This integrates the Management API's Developer app credential controller from the SDK's with Drupal.

Hierarchy

Expanded class hierarchy of DeveloperAppCredentialController

File

src/Entity/Controller/DeveloperAppCredentialController.php, line 33

Namespace

Drupal\apigee_edge\Entity\Controller
View source
final class DeveloperAppCredentialController extends AppCredentialControllerBase implements DeveloperAppCredentialControllerInterface {

  /**
   * {@inheritdoc}
   */
  protected function decorated() : EdgeAppCredentialController {
    if (!isset($this->instances[$this->owner][$this->appName])) {
      $this->instances[$this->owner][$this->appName] = new EdgeDeveloperAppCredentialController($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_DEVELOPER;
  }

}

Members

Namesort descending Modifiers Type Description Overrides
AppCredentialControllerBase::$appCacheByOwner protected property App owner's dedicated app cache that uses app names as cache ids.
AppCredentialControllerBase::$appName protected property Name of the app.
AppCredentialControllerBase::$connector protected property The SDK connector service.
AppCredentialControllerBase::$eventDispatcher private property The event dispatcher service.
AppCredentialControllerBase::$instances protected property Local cache for app credential controller instances.
AppCredentialControllerBase::$owner protected property Email address or id (UUID) of a developer, or name of a company.
AppCredentialControllerBase::addProducts public function
AppCredentialControllerBase::create public function
AppCredentialControllerBase::delete public function
AppCredentialControllerBase::deleteApiProduct public function
AppCredentialControllerBase::deleteAttribute public function
AppCredentialControllerBase::generate public function
AppCredentialControllerBase::getAttribute public function
AppCredentialControllerBase::getAttributes public function
AppCredentialControllerBase::getOrganisationName public function
AppCredentialControllerBase::load public function
AppCredentialControllerBase::overrideScopes public function
AppCredentialControllerBase::setApiProductStatus public function
AppCredentialControllerBase::setStatus public function
AppCredentialControllerBase::updateAttribute public function
AppCredentialControllerBase::updateAttributes public function
AppCredentialControllerBase::__construct public function AppCredentialControllerBase constructor.
DeveloperAppCredentialController::decorated protected function Returns the decorated app credential controller from the SDK. Overrides AppCredentialControllerBase::decorated
DeveloperAppCredentialController::getAppType protected function Returns either "developer" or "team". Overrides AppCredentialControllerBase::getAppType