public function AuthenticationCollectorInterface::getProvider

public AuthenticationCollectorInterface::getProvider($provider_id)

Returns an authentication provider.

Parameters

string $provider_id: The provider ID.

Return value

\Drupal\Core\Authentication\AuthenticationProviderInterface|NULL The authentication provider which matches the ID.

File

core/lib/Drupal/Core/Authentication/AuthenticationCollectorInterface.php, line 47

Class

AuthenticationCollectorInterface
Interface for collectors of registered authentication providers.

Namespace

Drupal\Core\Authentication

Code

public function getProvider($provider_id);

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Authentication!AuthenticationCollectorInterface.php/function/AuthenticationCollectorInterface::getProvider/8.1.x