ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
l
m
p
s
t
w
+
Functions
_
a
b
c
f
g
h
i
s
t
w
+
Variables
$
c
d
e
f
g
h
j
l
m
p
s
t
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Files
File List
+
Globals
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
class.ilSamlAuthFactory.php
Go to the documentation of this file.
1
<?php declare(strict_types=1);
2
/* Copyright (c) 1998-2017 ILIAS open source, Extended GPL, see docs/LICENSE */
3
7
class
ilSamlAuthFactory
8
{
9
const
METADATA_PATH
=
'auth/saml/config'
;
10
16
public
function
auth
(
string
$authSourceName =
'default-sp'
) :
ilSamlAuth
17
{
18
return
new
ilSimpleSAMLphpWrapper
(
19
$authSourceName,
20
$this->
getConfigDirectory
()
21
);
22
}
23
28
public
function
getConfigDirectory
() : 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
}
38
}
ilSamlAuthFactory\METADATA_PATH
const METADATA_PATH
Definition:
class.ilSamlAuthFactory.php:9
ilSamlAuth
Interface ilSamlAuth.
Definition:
interface.ilSamlAuth.php:7
ilSamlAuthFactory\auth
auth(string $authSourceName='default-sp')
Definition:
class.ilSamlAuthFactory.php:16
ilUtil\getDataDir
static getDataDir()
get data directory (outside webspace)
Definition:
class.ilUtil.php:1523
ilSamlAuthFactory\getConfigDirectory
getConfigDirectory()
Definition:
class.ilSamlAuthFactory.php:28
$DIC
$DIC
Definition:
xapitoken.php:46
ilSamlAuthFactory
Class ilSamlAuthFactory.
Definition:
class.ilSamlAuthFactory.php:7
ilSimpleSAMLphpWrapper
Class ilSimpleSAMLphpWrapper.
Definition:
class.ilSimpleSAMLphpWrapper.php:7
Services
Saml
classes
class.ilSamlAuthFactory.php
Generated on Fri Apr 4 2025 20:01:30 for ILIAS by
1.8.13 (using
Doxyfile
)