private function getProvidersConfig()
    {
        $config = [];
        foreach (self::PROVIDERS as $provider) {
            $config[ucfirst($provider)] = [
                'enabled' => (bool)$this->scopeConfig->getValue(
                    sprintf(self::CONFIG_PATH_SOCIAL_LOGIN_PROVIDER_ENABLED, $provider),
                    ScopeInterface::SCOPE_STORE
                ),
                'keys' => [
                    'key' => $this->scopeConfig->getValue(
                        sprintf(self::CONFIG_PATH_SOCIAL_LOGIN_PROVIDER_KEY, $provider),
                        ScopeInterface::SCOPE_STORE
                    ),
                    'secret' => $this->scopeConfig->getValue(
                        sprintf(self::CONFIG_PATH_SOCIAL_LOGIN_PROVIDER_SECRET, $provider),
                        ScopeInterface::SCOPE_STORE
                    ),
                ]
            ];
        }
        return $config;
    }
private function getProvidersConfig()
    {
        $config = [];
        foreach (self::PROVIDERS as $provider) {
            $config[ucfirst($provider)] = [
                'enabled' => (bool)$this->scopeConfig->getValue(
                    sprintf(self::CONFIG_PATH_SOCIAL_LOGIN_PROVIDER_ENABLED, $provider),
                    ScopeInterface::SCOPE_STORE
                ),
                'keys' => [
                    'key' => $this->scopeConfig->getValue(
                        sprintf(self::CONFIG_PATH_SOCIAL_LOGIN_PROVIDER_KEY, $provider),
                        ScopeInterface::SCOPE_STORE
                    ),
                    'secret' => $this->scopeConfig->getValue(
                        sprintf(self::CONFIG_PATH_SOCIAL_LOGIN_PROVIDER_SECRET, $provider),
                        ScopeInterface::SCOPE_STORE
                    ),
                ]
            ];
        }
        return $config;
    }
private function getProvidersConfig ( ) { $ config = [ ] ; foreach ( self :: PROVIDERS as $ provider ) { $ config [ ucfirst ( $ provider ) ] = [ 'enabled' => ( bool ) $ this -> scopeConfig -> getValue ( sprintf ( self :: CONFIG_PATH_SOCIAL_LOGIN_PROVIDER_ENABLED , $ provider ) , ScopeInterface :: SCOPE_STORE ) , 'keys' => [ 'key' => $ this -> scopeConfig -> getValue ( sprintf ( self :: CONFIG_PATH_SOCIAL_LOGIN_PROVIDER_KEY , $ provider ) , ScopeInterface :: SCOPE_STORE ) , 'secret' => $ this -> scopeConfig -> getValue ( sprintf ( self :: CONFIG_PATH_SOCIAL_LOGIN_PROVIDER_SECRET , $ provider ) , ScopeInterface :: SCOPE_STORE ) , ] ] ; } return $ config ; }
Gets providers from Magento configuration.

@return array
Gets providers from Magento configuration .