You are here

public function SalesforceOAuthPlugin::getConsumerSecret in Salesforce Suite 8.3

Consumer secret for the connected OAuth app.

Return value

string Consumer secret.

Overrides SalesforceAuthProviderPluginBase::getConsumerSecret

File

src/Plugin/SalesforceAuthProvider/SalesforceOAuthPlugin.php, line 102

Class

SalesforceOAuthPlugin
Salesforce OAuth user-agent flow auth provider plugin.

Namespace

Drupal\salesforce\Plugin\SalesforceAuthProvider

Code

public function getConsumerSecret() {
  return $this
    ->getCredentials()
    ->getConsumerSecret();
}