You are here

public function FacebookAuthSettings::getAppSecret in Open Social 8.4

Same name and namespace in other branches
  1. 8.9 modules/custom/social_auth_facebook/src/Settings/FacebookAuthSettings.php \Drupal\social_auth_facebook\Settings\FacebookAuthSettings::getAppSecret()
  2. 8 modules/custom/social_auth_facebook/src/Settings/FacebookAuthSettings.php \Drupal\social_auth_facebook\Settings\FacebookAuthSettings::getAppSecret()
  3. 8.2 modules/custom/social_auth_facebook/src/Settings/FacebookAuthSettings.php \Drupal\social_auth_facebook\Settings\FacebookAuthSettings::getAppSecret()
  4. 8.3 modules/custom/social_auth_facebook/src/Settings/FacebookAuthSettings.php \Drupal\social_auth_facebook\Settings\FacebookAuthSettings::getAppSecret()
  5. 8.5 modules/custom/social_auth_facebook/src/Settings/FacebookAuthSettings.php \Drupal\social_auth_facebook\Settings\FacebookAuthSettings::getAppSecret()
  6. 8.6 modules/custom/social_auth_facebook/src/Settings/FacebookAuthSettings.php \Drupal\social_auth_facebook\Settings\FacebookAuthSettings::getAppSecret()
  7. 8.7 modules/custom/social_auth_facebook/src/Settings/FacebookAuthSettings.php \Drupal\social_auth_facebook\Settings\FacebookAuthSettings::getAppSecret()
  8. 8.8 modules/custom/social_auth_facebook/src/Settings/FacebookAuthSettings.php \Drupal\social_auth_facebook\Settings\FacebookAuthSettings::getAppSecret()

Gets the app secret.

Return value

string The app secret.

Overrides FacebookAuthSettingsInterface::getAppSecret

File

modules/custom/social_auth_facebook/src/Settings/FacebookAuthSettings.php, line 54

Class

FacebookAuthSettings
Defines methods to get Social Auth Facebook app settings.

Namespace

Drupal\social_auth_facebook\Settings

Code

public function getAppSecret() {
  if (!$this->appSecret) {
    $this->appSecret = $this->config
      ->get('app_secret');
  }
  return $this->appSecret;
}