public function SalesforceAuthProviderPluginBase::getInstanceUrl in Salesforce Suite 8.4
Same name and namespace in other branches
- 8.3 src/SalesforceAuthProviderPluginBase.php \Drupal\salesforce\SalesforceAuthProviderPluginBase::getInstanceUrl()
- 5.0.x src/SalesforceAuthProviderPluginBase.php \Drupal\salesforce\SalesforceAuthProviderPluginBase::getInstanceUrl()
Instance URL for this connection.
Return value
string Instance URL for this connection.
Throws
\OAuth\Common\Storage\Exception\TokenNotFoundException
Overrides SalesforceAuthProviderInterface::getInstanceUrl
1 method overrides SalesforceAuthProviderPluginBase::getInstanceUrl()
- TestSalesforceAuthProvider::getInstanceUrl in src/
Tests/ TestSalesforceAuthProvider.php - Instance URL for this connection.
File
- src/
SalesforceAuthProviderPluginBase.php, line 282
Class
- SalesforceAuthProviderPluginBase
- Shared methods for auth providers.
Namespace
Drupal\salesforceCode
public function getInstanceUrl() {
return $this
->getAccessToken()
->getExtraParams()['instance_url'] ?? '';
}