SalesforceCredentialsInterface.php in Salesforce Suite 8.4
Same filename and directory in other branches
Namespace
Drupal\salesforce\ConsumerFile
src/Consumer/SalesforceCredentialsInterface.phpView source
<?php
namespace Drupal\salesforce\Consumer;
/**
* Salesforce credentials interface.
*/
interface SalesforceCredentialsInterface {
/**
* Get the consumer key for these credentials.
*
* @return string
* The consumer key.
*/
public function getConsumerKey();
/**
* Get the login URL for these credentials.
*
* @return string
* The login url, e.g. https://login.salesforce.com.
*/
public function getLoginUrl();
/**
* Sanity check for credentials validity.
*
* @return bool
* TRUE if credentials are set properly. Otherwise false.
*/
public function isValid();
/**
* Create helper.
*
* @param array $configuration
* Plugin configuration.
*
* @return static
*/
public static function create(array $configuration);
}
Interfaces
Name | Description |
---|---|
SalesforceCredentialsInterface | Salesforce credentials interface. |