You are here

public function SalesforceOAuthCredentials::__construct in Salesforce Suite 8.4

Same name and namespace in other branches
  1. 5.0.x modules/salesforce_oauth/src/Consumer/SalesforceOAuthCredentials.php \Drupal\salesforce_oauth\Consumer\SalesforceOAuthCredentials::__construct()

File

modules/salesforce_oauth/src/Consumer/SalesforceOAuthCredentials.php, line 16

Class

SalesforceOAuthCredentials
Salesforce credentials extension, for drupalisms.

Namespace

Drupal\salesforce_oauth\Consumer

Code

public function __construct($consumerKey, $consumerSecret, $loginUrl) {
  parent::__construct($consumerKey, $consumerSecret, self::callbackUrl());
  $this->consumerKey = $consumerKey;
  $this->loginUrl = $loginUrl;
}