public function SalesforceJWTPlugin::getPluginDefinition in Salesforce Suite 8.4
Same name and namespace in other branches
- 5.0.x modules/salesforce_jwt/src/Plugin/SalesforceAuthProvider/SalesforceJWTPlugin.php \Drupal\salesforce_jwt\Plugin\SalesforceAuthProvider\SalesforceJWTPlugin::getPluginDefinition()
Gets the definition of the plugin implementation.
Return value
array The plugin definition, as returned by the discovery object used by the plugin manager.
Overrides SalesforceAuthProviderPluginBase::getPluginDefinition
File
- modules/
salesforce_jwt/ src/ Plugin/ SalesforceAuthProvider/ SalesforceJWTPlugin.php, line 224
Class
- SalesforceJWTPlugin
- JWT Oauth plugin.
Namespace
Drupal\salesforce_jwt\Plugin\SalesforceAuthProviderCode
public function getPluginDefinition() {
$definition = parent::getPluginDefinition();
if ($this->configuration['encrypt_key'] && ($key = $this->keyRepository
->getKey($this->configuration['encrypt_key']))) {
$definition['config_dependencies']['config'][] = $key
->getConfigDependencyName();
}
return $definition;
}