public AuthenticationCollector::addProvider(AuthenticationProviderInterface $provider, $provider_id, $priority = 0, $global = FALSE)
Adds a provider to the array of registered providers.
Parameters
\Drupal\Core\Authentication\AuthenticationProviderInterface $provider: The provider object.
string $provider_id: Identifier of the provider.
int $priority: (optional) The provider's priority.
bool $global: (optional) TRUE if the provider is to be applied globally on all routes. Defaults to FALSE.
Ov