Definition at line 30 of file Module.php.
 
◆ metadata()
  
  
      
        
          | static ILIAS\Saml\Module::metadata  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
static   | 
  
 
Definition at line 46 of file Module.php.
   49         $config = Configuration::getInstance();
    50         if ($config->getOptionalBoolean(
'admin.protectmetadata', 
false)) {
    52             $admin->requireAdmin();
    55         $xml = (
new Metadata(
new DefaultSimpleSamlFactory()))->buildXML($auth);
    56         self::sendXMLString($xml);
 
 
 
 
◆ run()
  
  
      
        
          | static ILIAS\Saml\Module::run  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
static   | 
  
 
Definition at line 32 of file Module.php.
References $_SERVER, $DIC, ilSession\SESSION_CLOSE_USER, and ilSession\setClosingContext().
   35         if (preg_match(
'@^/saml/sp/saml2-logout.php/@', 
$_SERVER[
'PATH_INFO'])) {
    38             $DIC[
'ilAuthSession']->logout();
    39             $DIC[
'ilAppEventHandler']->raise(
'components/ILIAS/Authentication', 
'afterLogout', [
    40                 'username' => $DIC->user()->getLogin(),
    43         SimpleSamlModule::process()->send();
 
static setClosingContext(int $a_context)
set closing context (for statistics) 
 
 
 
 
◆ sendXMLString()
  
  
      
        
          | static ILIAS\Saml\Module::sendXMLString  | 
          ( | 
          string  | 
          $xml_string | ) | 
           | 
         
       
   | 
  
staticprivate   | 
  
 
Definition at line 59 of file Module.php.
References $DIC, $http, and $response.
   65                          ->withHeader(
'Content-Type', 
'application/xml')
    66                          ->withBody(Streams::ofString($xml_string));
    69         $http->sendResponse();
 
 
 
 
The documentation for this class was generated from the following file: