public static function OAuthCredentials::create in Salesforce Suite 8.3
Constructor helper.
Parameters
array $configuration: Plugin configuration.
Return value
\Drupal\salesforce\Consumer\OAuthCredentials Credentials, valid or not.
Overrides SalesforceCredentials::create
File
- src/
Consumer/ OAuthCredentials.php, line 30
Class
- OAuthCredentials
- Salesforce credentials extension, for drupalisms.
Namespace
Drupal\salesforce\ConsumerCode
public static function create(array $configuration) {
return new static($configuration['consumer_key'], $configuration['consumer_secret'], $configuration['login_url']);
}