You are here

SamlSPController.php in SAML Service Provider 7.8

Contains \Drupal\samlsp\Controller\SamlSPController.

File

src/Controller/SamlSPController.php
View source
<?php

/**
 * @file
 * Contains \Drupal\samlsp\Controller\SamlSPController.
 */
namespace Drupal\saml_sp\Controller;

use Drupal\Core\Controller\ControllerBase;

/**
 * Provides route responses for the SAML SP module
 */
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;
  }

}

Classes

Namesort descending Description
SamlSPController Provides route responses for the SAML SP module