You are here

public static function SalesforceAuthProviderPluginBase::defaultConfiguration in Salesforce Suite 8.4

Same name and namespace in other branches
  1. 8.3 src/SalesforceAuthProviderPluginBase.php \Drupal\salesforce\SalesforceAuthProviderPluginBase::defaultConfiguration()
  2. 5.0.x src/SalesforceAuthProviderPluginBase.php \Drupal\salesforce\SalesforceAuthProviderPluginBase::defaultConfiguration()

Default configuration for this plugin type.

Return value

array Default configuration.

Overrides SalesforceAuthProviderInterface::defaultConfiguration

3 calls to SalesforceAuthProviderPluginBase::defaultConfiguration()
SalesforceAuthProviderPluginBase::create in src/SalesforceAuthProviderPluginBase.php
Creates an instance of the plugin.
SalesforceJWTPlugin::defaultConfiguration in modules/salesforce_jwt/src/Plugin/SalesforceAuthProvider/SalesforceJWTPlugin.php
Default configuration for this plugin type.
SalesforceOAuthPlugin::defaultConfiguration in modules/salesforce_oauth/src/Plugin/SalesforceAuthProvider/SalesforceOAuthPlugin.php
Default configuration for this plugin type.
2 methods override SalesforceAuthProviderPluginBase::defaultConfiguration()
SalesforceJWTPlugin::defaultConfiguration in modules/salesforce_jwt/src/Plugin/SalesforceAuthProvider/SalesforceJWTPlugin.php
Default configuration for this plugin type.
SalesforceOAuthPlugin::defaultConfiguration in modules/salesforce_oauth/src/Plugin/SalesforceAuthProvider/SalesforceOAuthPlugin.php
Default configuration for this plugin type.

File

src/SalesforceAuthProviderPluginBase.php, line 106

Class

SalesforceAuthProviderPluginBase
Shared methods for auth providers.

Namespace

Drupal\salesforce

Code

public static function defaultConfiguration() {
  return [
    'consumer_key' => '',
    'login_url' => 'https://test.salesforce.com',
  ];
}