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
- class \Drupal\apigee_edge\Event\AbstractAppCredentialEvent extends \Symfony\Component\EventDispatcher\Event- class \Drupal\apigee_edge\Event\AppCredentialCreateEvent
 
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\EventView source
class AppCredentialCreateEvent extends AbstractAppCredentialEvent {
  /**
   * Event id.
   *
   * @var string
   */
  const EVENT_NAME = 'apigee_edge.app_credential.create';
}Members
| Name   | Modifiers | Type | Description | Overrides | 
|---|---|---|---|---|
| AbstractAppCredentialEvent:: | private | property | Name of the app. | |
| AbstractAppCredentialEvent:: | private | property | Type of the app. | |
| AbstractAppCredentialEvent:: | private | property | App credential. | |
| AbstractAppCredentialEvent:: | private | property | ID of the app owner. | |
| AbstractAppCredentialEvent:: | constant | Developer app type. | ||
| AbstractAppCredentialEvent:: | constant | Team app type. | ||
| AbstractAppCredentialEvent:: | public | function | Returns the name of the app. | |
| AbstractAppCredentialEvent:: | public | function | Returns the app type which is either "company" or "developer". | |
| AbstractAppCredentialEvent:: | public | function | Returns the app credential. | |
| AbstractAppCredentialEvent:: | public | function | Returns owner id which is either a company name or a developer id (email). | |
| AbstractAppCredentialEvent:: | public | function | AppCredentialGenerateEvent constructor. | 2 | 
| AppCredentialCreateEvent:: | constant | Event id. | 
