Return list of all Providers: driver, customDriver (\Closure)

@return \Fureev\Socialite\Two\CustomProvider[]
165242
public function getProviders()
    {
        $result = $this->getDrivers();

        foreach ($this->customCreators ?? [] as $key => $val) {
            $result[ $key ] = $val;
        }

        return $result;
    }
350264
final public function getServices()
    {
        if (is_null($this->serviceProviders)) {
            $this->serviceProviders = $this->getServiceProviders();
        }

        return $this->serviceProviders;
    }
798568
public function getEnabledDrivers()
    {
        $drivers = $this->getDriversFromStorage();
        $enabled = new Collection();

        foreach ($this->getAvailableDrivers() as $driver) {
            $name = $driver->getName();

            if (isset($drivers[$name])) {
                $enabled->put($name, $driver);
            }
        }

        return $enabled;
    }
1309870
public function loginUser($provider)
    {
        $this->getProviderDetails($provider);

        $socialUser = $this->getSocialUser();

        // Allow any checks before creating/updating the user.
        event(new UserLoggingIn($socialUser));
        
        $user = $this->getUser($socialUser);

        // Update or create provider details.
        $this->updateFromProvider($user, $socialUser);

        // Log the user in.
        auth()->login($user, request('remember', false));
        $user->updateLogin($this->provider->driver);
        event(new UserLoggedIn($user, $socialUser));

        return [
            $user,
            $socialUser,
        ];
    }
544314
public function getDrivers()
    {
        $drivers = array();
        foreach($this->aliases as $alias => $service) {
            $drivers[$alias] = $this->container->get($service);
        }
        return $drivers;
    }
990482
public function getDefaultProviders()
    {
        $endpoint = "{$this->apiUrl}/providers/true";

        $res = Requests::get($endpoint);
        $this->validateResponse($res);

        return json_decode($res->body, true);
    }
340399
def get_configured_providers(self):
        '''
        
        '''
        providers = set()
        for alias, drivers in six.iteritems(self.opts['providers']):
            if len(drivers) > 1:
                for driver in drivers:
                    providers.add('{0}:{1}'.format(alias, driver))
                continue
            providers.add(alias)
        return providers
655836
public function getAvailableDrivers()
    {
        $this->method = 'getAvailableDrivers';
        $this->sendRequest();
        $this->method = null;

        return $this->availableDrivers ? $this->availableDrivers : array();
    }
956947
public function getAvailableDrivers()
	{
		$drivers = array();
		
		if(count($this->drivers) > 0)
		{
			foreach($this->drivers as $driver)
			{
				if(class_exists("LikePDO\\Drivers\\".$driver."Driver"))
				{
					$drivers[] = $driver;
				}
			}
		}
		
		return $drivers;
	}
147587
public static function findAvailableSmsProviders()
    {
        /** @var SMSProvider[] $smsProviders */
        $smsProviders = Plugin\Manager::getInstance()->findMultipleComponents('SMSProvider', 'Piwik\Plugins\MobileMessaging\SMSProvider');

        $providers = array();

        foreach ($smsProviders as $provider) {
            /** @var SMSProvider $provider */
            $provider = StaticContainer::get($provider);
            if ($provider->isAvailable()) {
                $providers[$provider->getId()] = $provider;
            }
        }

        return $providers;
    }
880692
public function getServiceInstances()
    {
        $instances = [];

        foreach ($this->getServices() as $name => $info) {
            if (!isset($info['type'])) {
                continue;
            }
            $type = $info['type'];
            unset($info['type']);

            $instances[$name] = [
                'type' => $type,
                'options' => $info,
                'instance' => static::loadService($this, $type, $name),
            ];
        }

        return $instances;
    }
178227
public function getProviderInfo(): array
    {
        if ($this->info === null) {
            $event = new RegisterProviderInfo();

            $this->trigger(
                $event::REGISTER_INFO,
                $event
            );

            $this->info = $event->info;

            $this->formatInfoArray($this->info);
        }

        return $this->info;
    }
895892
public function getDrivers(): Collection
    {
        $response = $this->client->get(self::URL.'/drivers', ['json' => ['version' => Kernel::VERSION]]);

        return collect(json_decode((string) $response->getBody(), true));
    }
595362
public function get(): array
    {
        list ($generatorClass, $dispatcherClass) = $this->getGeneratorAndDispatcherClasses();

        $routesData = $this
            ->createRouter($generatorClass, $dispatcherClass)
            ->getCachedRoutes($this->addRoutes($this->createGroup()));

        $globalConfigurators = iterator_to_array($this->getGlobalContainerConfigurators(), false);
        $globalMiddleware    = iterator_to_array($this->getGlobalMiddleWareHandlers(), false);

        return [
            static::KEY_ROUTER_PARAMS                  => [
                static::KEY_ROUTER_PARAMS__GENERATOR  => $generatorClass,
                static::KEY_ROUTER_PARAMS__DISPATCHER => $dispatcherClass,
            ],
            static::KEY_ROUTES_DATA                    => $routesData,
            static::KEY_GLOBAL_CONTAINER_CONFIGURATORS => $globalConfigurators,
            static::KEY_GLOBAL_MIDDLEWARE              => $globalMiddleware,
        ];
    }
862021
protected function getRouteDefinitions()
    {
        $provider = 'Adamgoose\AnnotationsServiceProvider';

        return '<?php '.PHP_EOL.PHP_EOL.Scanner::create(
          $this->laravel->getProvider($provider)->routeScans()
        )->getRouteDefinitions().PHP_EOL;
    }
838229
private function getProvider()
	{
		$providerData = null;

		if (isset($_SERVER['HTTP_AUTHORIZATION'])) {
			$authBasicHeader = trim($_SERVER['HTTP_AUTHORIZATION']);

			preg_match('/^Basic (.+)$/', $authBasicHeader, $matches);
			@list($login, $password) = explode(':', base64_decode($matches[1]));
			$providerData = array(
				'login'    => $login,
				'password' => $password,
			);
		}

		if (isset($_SERVER['PHP_AUTH_USER']) && isset($_SERVER['PHP_AUTH_PW'])) {
			$providerData = array(
				'login'    => (int)trim($_SERVER['PHP_AUTH_USER']),
				'password' => trim($_SERVER['PHP_AUTH_PW']),
			);
		}

		return $providerData;
	}
645140
public function provides()
    {
        $provides = [];

        foreach ($this->providers as $provider) {
            $instance = $this->app->resolveProvider($provider);

            $provides = array_merge($provides, $instance->provides());
        }

        return $provides;
    }