You are here

public function SalesforceAuthConfig::authManager in Salesforce Suite 8.4

Same name and namespace in other branches
  1. 8.3 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\SalesforceAuthProviderPluginManagerInterface|mixed The auth provider plugin manager.

1 call to SalesforceAuthConfig::authManager()
SalesforceAuthConfig::getPluginCollections in src/Entity/SalesforceAuthConfig.php
Gets the plugin collections used by this object.

File

src/Entity/SalesforceAuthConfig.php, line 157

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;
}