public function AuthenticationCollectorInterface::getProvider in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Authentication/AuthenticationCollectorInterface.php \Drupal\Core\Authentication\AuthenticationCollectorInterface::getProvider()
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.
1 method overrides AuthenticationCollectorInterface::getProvider()
- AuthenticationCollector::getProvider in core/
lib/ Drupal/ Core/ Authentication/ AuthenticationCollector.php - Returns an authentication provider.
File
- core/
lib/ Drupal/ Core/ Authentication/ AuthenticationCollectorInterface.php, line 47
Class
- AuthenticationCollectorInterface
- Interface for collectors of registered authentication providers.
Namespace
Drupal\Core\AuthenticationCode
public function getProvider($provider_id);