You are here

LinkedInAuthSettingsInterface.php in Open Social 8.8

File

modules/custom/social_auth_linkedin/src/Settings/LinkedInAuthSettingsInterface.php
View source
<?php

namespace Drupal\social_auth_linkedin\Settings;


/**
 * Defines an interface for Social Auth LinkedIn settings.
 */
interface LinkedInAuthSettingsInterface {

  /**
   * Gets the client ID.
   *
   * @return string
   *   The client ID.
   */
  public function getClientId();

  /**
   * Gets the client secret.
   *
   * @return string
   *   The client secret.
   */
  public function getClientSecret();

  /**
   * Returns status of social network.
   *
   * @return bool
   *   The status of the social network.
   */
  public function isActive();

  /**
   * Returns key-name of a social network.
   *
   * @return string
   *   The key-name of a social network.
   */
  public static function getSocialNetworkKey();

}

Interfaces

Namesort descending Description
LinkedInAuthSettingsInterface Defines an interface for Social Auth LinkedIn settings.