ILIAS  release_7 Revision v7.30-3-g800a261c036
All Data Structures Namespaces Files Functions Variables Modules Pages
ilSamlAuthFactory Class Reference

Class ilSamlAuthFactory. More...

+ Collaboration diagram for ilSamlAuthFactory:

Public Member Functions

 auth (string $authSourceName='default-sp')
 
 getConfigDirectory ()
 

Data Fields

const METADATA_PATH = 'auth/saml/config'
 

Detailed Description

Class ilSamlAuthFactory.

Definition at line 7 of file class.ilSamlAuthFactory.php.

Member Function Documentation

◆ auth()

ilSamlAuthFactory::auth ( string  $authSourceName = 'default-sp')
Parameters
string$authSourceName
Returns
ilSamlAuth
Exceptions
Exception

Definition at line 16 of file class.ilSamlAuthFactory.php.

References getConfigDirectory().

16  : ilSamlAuth
17  {
18  return new ilSimpleSAMLphpWrapper(
19  $authSourceName,
20  $this->getConfigDirectory()
21  );
22  }
Interface ilSamlAuth.
Class ilSimpleSAMLphpWrapper.
+ Here is the call graph for this function:

◆ getConfigDirectory()

ilSamlAuthFactory::getConfigDirectory ( )
Returns
string
Exceptions

Definition at line 28 of file class.ilSamlAuthFactory.php.

References $DIC, and ilUtil\getDataDir().

Referenced by auth().

28  : string
29  {
30  global $DIC;
31 
32  $fs = $DIC->filesystem()->storage();
33 
34  $fs->createDir(self::METADATA_PATH);
35 
36  return rtrim(ilUtil::getDataDir(), '/') . '/' . self::METADATA_PATH;
37  }
global $DIC
Definition: goto.php:24
static getDataDir()
get data directory (outside webspace)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Field Documentation

◆ METADATA_PATH

const ilSamlAuthFactory::METADATA_PATH = 'auth/saml/config'

Definition at line 9 of file class.ilSamlAuthFactory.php.


The documentation for this class was generated from the following file: