You are here

class SamlSPController in SAML Service Provider 7.8

Same name and namespace in other branches
  1. 8.3 src/Controller/SamlSPController.php \Drupal\saml_sp\Controller\SamlSPController
  2. 8.2 src/Controller/SamlSPController.php \Drupal\saml_sp\Controller\SamlSPController
  3. 4.x src/Controller/SamlSPController.php \Drupal\saml_sp\Controller\SamlSPController
  4. 3.x src/Controller/SamlSPController.php \Drupal\saml_sp\Controller\SamlSPController

Provides route responses for the SAML SP module

Hierarchy

  • class \Drupal\saml_sp\Controller\SamlSPController extends \Drupal\Core\Controller\ControllerBase

Expanded class hierarchy of SamlSPController

File

src/Controller/SamlSPController.php, line 15
Contains \Drupal\samlsp\Controller\SamlSPController.

Namespace

Drupal\saml_sp\Controller
View source
class SamlSPController extends ControllerBase {

  /**
   * Returns a list of the IDPs.
   *
   * @return array
   *   A simple renderable array.
   */
  public function idpList() {
    $element = array(
      '#markup' => 'Hello, world',
    );
    return $element;
  }

}

Members

Namesort descending Modifiers Type Description Overrides
SamlSPController::idpList public function Returns a list of the IDPs.