You are here

public function SalesforceAuthConfig::authManager in Salesforce Suite 8.3

Same name and namespace in other branches
  1. 8.4 src/Entity/SalesforceAuthConfig.php \Drupal\salesforce\Entity\SalesforceAuthConfig::authManager()
  2. 5.0.x src/Entity/SalesforceAuthConfig.php \Drupal\salesforce\Entity\SalesforceAuthConfig::authManager()

Auth manager wrapper.

Return value

\Drupal\salesforce\SalesforceAuthProviderPluginManager|mixed The auth provider plugin manager.

File

src/Entity/SalesforceAuthConfig.php, line 122

Class

SalesforceAuthConfig
Defines a Salesforce Auth entity.

Namespace

Drupal\salesforce\Entity

Code

public function authManager() {
  if (!$this->manager) {
    $this->manager = \Drupal::service("plugin.manager.salesforce.auth_providers");
  }
  return $this->manager;
}