You are here

public function TestSalesforceAuthProvider::__construct in Salesforce Suite 8.4

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

SalesforceOAuthPlugin constructor.

Parameters

array $configuration: Plugin configuration.

string $plugin_id: Plugin id.

mixed $plugin_definition: Plugin definition.

\OAuth\Common\Http\Client\ClientInterface $httpClient: The oauth http client.

\Drupal\salesforce\Storage\SalesforceAuthTokenStorageInterface $storage: Auth token storage service.

Throws

\OAuth\OAuth2\Service\Exception\InvalidScopeException Comment.

Overrides SalesforceAuthProviderPluginBase::__construct

File

src/Tests/TestSalesforceAuthProvider.php, line 17

Class

TestSalesforceAuthProvider
Test auth provider.

Namespace

Drupal\salesforce\Tests

Code

public function __construct() {

  // NOOP.
}