You are here

public function SalesforceAuthProviderPluginBase::service in Salesforce Suite 8.4

Same name and namespace in other branches
  1. 8.3 src/SalesforceAuthProviderPluginBase.php \Drupal\salesforce\SalesforceAuthProviderPluginBase::service()
  2. 5.0.x src/SalesforceAuthProviderPluginBase.php \Drupal\salesforce\SalesforceAuthProviderPluginBase::service()

The auth provider service.

Return value

\Drupal\salesforce\SalesforceAuthProviderInterface The auth provider service.

Overrides SalesforceAuthProviderInterface::service

2 calls to SalesforceAuthProviderPluginBase::service()
SalesforceAuthProviderPluginBase::refreshIdentity in src/SalesforceAuthProviderPluginBase.php
Given a token, fetch the SF identity.
SalesforceJWTPlugin::requestAccessToken in modules/salesforce_jwt/src/Plugin/SalesforceAuthProvider/SalesforceJWTPlugin.php
Overrides AbstractService::requestAccessToken for jwt-bearer flow.

File

src/SalesforceAuthProviderPluginBase.php, line 322

Class

SalesforceAuthProviderPluginBase
Shared methods for auth providers.

Namespace

Drupal\salesforce

Code

public function service() {
  return $this
    ->id();
}