public static function JWTCredentials::create in Salesforce Suite 5.0.x
Same name and namespace in other branches
- 8.4 modules/salesforce_jwt/src/Consumer/JWTCredentials.php \Drupal\salesforce_jwt\Consumer\JWTCredentials::create()
Constructor helper.
Parameters
array $configuration: Plugin configuration.
Return value
\Drupal\salesforce_jwt\Consumer\JWTCredentials Credentials, valid or not.
Overrides SalesforceCredentials::create
File
- modules/
salesforce_jwt/ src/ Consumer/ JWTCredentials.php, line 46
Class
- JWTCredentials
- JWT credentials.
Namespace
Drupal\salesforce_jwt\ConsumerCode
public static function create(array $configuration) {
return new static($configuration['consumer_key'], $configuration['login_url'], $configuration['login_user'], $configuration['encrypt_key']);
}