You are here

public static function SalesforceJWTPlugin::defaultConfiguration in Salesforce Suite 8.4

Same name and namespace in other branches
  1. 5.0.x modules/salesforce_jwt/src/Plugin/SalesforceAuthProvider/SalesforceJWTPlugin.php \Drupal\salesforce_jwt\Plugin\SalesforceAuthProvider\SalesforceJWTPlugin::defaultConfiguration()

Default configuration for this plugin type.

Return value

array Default configuration.

Overrides SalesforceAuthProviderPluginBase::defaultConfiguration

2 calls to SalesforceJWTPlugin::defaultConfiguration()
SalesforceJWTPlugin::create in modules/salesforce_jwt/src/Plugin/SalesforceAuthProvider/SalesforceJWTPlugin.php
Creates an instance of the plugin.
SalesforceJWTPlugin::validateConfigurationForm in modules/salesforce_jwt/src/Plugin/SalesforceAuthProvider/SalesforceJWTPlugin.php
Form validation handler.

File

modules/salesforce_jwt/src/Plugin/SalesforceAuthProvider/SalesforceJWTPlugin.php, line 76

Class

SalesforceJWTPlugin
JWT Oauth plugin.

Namespace

Drupal\salesforce_jwt\Plugin\SalesforceAuthProvider

Code

public static function defaultConfiguration() {
  $defaults = parent::defaultConfiguration();
  return array_merge($defaults, [
    'login_user' => '',
    'encrypt_key' => '',
  ]);
}