You are here

public function Broken::getCredentials in Salesforce Suite 8.4

Same name and namespace in other branches
  1. 5.0.x src/Plugin/SalesforceAuthProvider/Broken.php \Drupal\salesforce\Plugin\SalesforceAuthProvider\Broken::getCredentials()

Return the credentials configured for this auth provider instance.

Credentials contain consumer key, login url, secret, etc.

Return value

\Drupal\salesforce\Consumer\SalesforceCredentialsInterface The credentials.

Overrides SalesforceAuthProviderPluginBase::getCredentials

File

src/Plugin/SalesforceAuthProvider/Broken.php, line 25

Class

Broken
Fallback for broken / missing plugin.

Namespace

Drupal\salesforce\Plugin\SalesforceAuthProvider

Code

public function getCredentials() {
  return new SalesforceCredentials('', '', '');
}