ILIAS  release_8 Revision v8.24
ilSamlAuthFactory Class Reference

Class ilSamlAuthFactory. More...

+ Collaboration diagram for ilSamlAuthFactory:

Public Member Functions

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

Private Attributes

const METADATA_PATH = 'auth/saml/config'
 

Detailed Description

Class ilSamlAuthFactory.

Definition at line 26 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 35 of file class.ilSamlAuthFactory.php.

36 {
37 return new ilSimpleSAMLphpWrapper(
38 $authSourceName,
39 $this->getConfigDirectory()
40 );
41 }
Class ilSimpleSAMLphpWrapper.
Interface ilSamlAuth.

References getConfigDirectory().

+ Here is the call graph for this function:

◆ getConfigDirectory()

ilSamlAuthFactory::getConfigDirectory ( )
Returns
string
Exceptions
IOException

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

47 : string
48 {
49 global $DIC;
50
51 $fs = $DIC->filesystem()->storage();
52
53 $fs->createDir(self::METADATA_PATH);
54
55 return rtrim(ilFileUtils::getDataDir(), '/') . '/' . self::METADATA_PATH;
56 }
static getDataDir()
get data directory (outside webspace)
global $DIC
Definition: feed.php:28

References $DIC, ilFileUtils\getDataDir(), and METADATA_PATH.

Referenced by auth().

+ 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'
private

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

Referenced by getConfigDirectory().


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