mirror of
https://github.com/e107inc/e107.git
synced 2025-08-16 11:36:08 +02:00
social_login_config::getSupportedConfiguredProviderConfigs()
is a better name than `\social_login_config::getValidConfiguredProviderConfigs()` because the method does not validate the provider configs.
This commit is contained in:
@@ -162,9 +162,13 @@ class social_login_config
|
||||
|
||||
/**
|
||||
* Get configs of providers that are supported and configured
|
||||
*
|
||||
* These configs are not validated here by the social login implementation.
|
||||
* This method only filters out providers that are not supported and not configured.
|
||||
*
|
||||
* @return array Associative array where the key is the denormalized provider name and the value is its config
|
||||
*/
|
||||
public function getValidConfiguredProviderConfigs()
|
||||
public function getSupportedConfiguredProviderConfigs()
|
||||
{
|
||||
$supported_providers = $this->getSupportedProviders();
|
||||
$configured_providers = $this->getConfiguredProviders();
|
||||
@@ -233,6 +237,9 @@ class social_login_config
|
||||
return $output;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
protected function getSocialLoginConfig()
|
||||
{
|
||||
$config = $this->config->get(self::SOCIAL_LOGIN_PREF);
|
||||
|
Reference in New Issue
Block a user