ILIAS  release_7 Revision v7.30-3-g800a261c036
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.

17 {
18 return new ilSimpleSAMLphpWrapper(
19 $authSourceName,
20 $this->getConfigDirectory()
21 );
22 }
Class ilSimpleSAMLphpWrapper.
Interface ilSamlAuth.

References getConfigDirectory().

+ Here is the call graph for this function:

◆ getConfigDirectory()

ilSamlAuthFactory::getConfigDirectory ( )
Returns
string
Exceptions

ILIAS\Filesystem\Exception\IOException

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

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 }
static getDataDir()
get data directory (outside webspace)
global $DIC
Definition: goto.php:24

References $DIC, ilUtil\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'

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

Referenced by getConfigDirectory().


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