You are here

class AppCredentialCreateEvent in Apigee Edge 8

Triggered when a new app credential has been created for an app.

When app key has been _created_ then you can not access to API products on the credential yet because are going to be assigned later.

Hierarchy

Expanded class hierarchy of AppCredentialCreateEvent

5 files declare their use of AppCredentialCreateEvent
ApiProductEntityAccessCacheReset.php in src/EventSubscriber/ApiProductEntityAccessCacheReset.php
AppCredentialControllerBase.php in src/Entity/Controller/AppCredentialControllerBase.php
CreateDeleteAppKey.php in tests/modules/apigee_edge_test_app_keys/src/EventSubscriber/CreateDeleteAppKey.php
DeveloperAppCredentialEventTest.php in tests/src/Functional/DeveloperAppCredentialEventTest.php
TeamMemberApiProductAccessHandlerCacheReset.php in modules/apigee_edge_teams/src/EventSubscriber/TeamMemberApiProductAccessHandlerCacheReset.php

File

src/Event/AppCredentialCreateEvent.php, line 29

Namespace

Drupal\apigee_edge\Event
View source
class AppCredentialCreateEvent extends AbstractAppCredentialEvent {

  /**
   * Event id.
   *
   * @var string
   */
  const EVENT_NAME = 'apigee_edge.app_credential.create';

}

Members

Namesort descending Modifiers Type Description Overrides
AbstractAppCredentialEvent::$appName private property Name of the app.
AbstractAppCredentialEvent::$appType private property Type of the app.
AbstractAppCredentialEvent::$credential private property App credential.
AbstractAppCredentialEvent::$ownerId private property ID of the app owner.
AbstractAppCredentialEvent::APP_TYPE_DEVELOPER constant Developer app type.
AbstractAppCredentialEvent::APP_TYPE_TEAM constant Team app type.
AbstractAppCredentialEvent::getAppName public function Returns the name of the app.
AbstractAppCredentialEvent::getAppType public function Returns the app type which is either "company" or "developer".
AbstractAppCredentialEvent::getCredential public function Returns the app credential.
AbstractAppCredentialEvent::getOwnerId public function Returns owner id which is either a company name or a developer id (email).
AbstractAppCredentialEvent::__construct public function AppCredentialGenerateEvent constructor. 2
AppCredentialCreateEvent::EVENT_NAME constant Event id.