ILIAS
trunk Revision v11.0_alpha-1715-g7fc467680fb
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
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
k
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
c
e
g
h
j
l
m
p
s
t
u
v
+
Enumerations
a
c
e
f
i
j
l
m
n
o
p
r
s
t
u
v
z
+
Enumerator
a
c
d
e
f
g
i
l
m
n
o
p
q
s
t
u
v
y
+
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
Ö
Enumerations
Enumerator
+
Files
File List
+
Globals
+
All
$
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
z
+
Functions
a
b
c
d
e
f
g
h
i
m
n
p
r
s
t
u
v
+
Variables
$
a
c
e
g
h
i
m
n
o
p
r
s
t
u
v
z
Enumerations
Enumerator
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Modules
Pages
StaticUrlHandler.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\Authentication
;
22
23
use
ILIAS\StaticURL\Handler\Handler
;
24
use
ILIAS\StaticURL\Handler\BaseHandler
;
25
use
ILIAS\StaticURL\Request\Request
;
26
use
ILIAS\StaticURL\Context
;
27
use
ILIAS\StaticURL\Response\Factory
;
28
use
ILIAS\StaticURL\Response\Response
;
29
use
ilCtrlInterface
;
30
use
ilLanguage
;
31
32
class
StaticUrlHandler
extends
BaseHandler
implements
Handler
33
{
34
private
readonly
ilCtrlInterface
$ctrl
;
35
private
readonly
ilLanguage
$language
;
36
37
public
function
__construct
()
38
{
39
global
$DIC
;
40
$this->
ctrl
= $DIC->ctrl();
41
$this->
language
= $DIC->language();
42
}
43
44
public
function
getNamespace
(): string
45
{
46
return
'auth'
;
47
}
48
49
public
function
handle
(
Request
$request,
Context
$context
,
Factory
$response_factory): Response
50
{
51
$additional_params = implode(
'/'
, $request->getAdditionalParameters() ?? []);
52
53
return
match ($additional_params) {
54
'login'
=> $response_factory->can(
'login.php?'
. http_build_query([
55
'cmd'
=>
'force_login'
,
56
'lang'
=> $this->
language
->getLangKey(),
57
])),
58
};
59
}
60
}
ILIAS\Authentication
ilLanguage
$context
$context
Definition:
webdav.php:31
ILIAS\Authentication\StaticUrlHandler\getNamespace
getNamespace()
Definition:
StaticUrlHandler.php:44
Handler
ILIAS\Authentication\StaticUrlHandler\__construct
__construct()
Definition:
StaticUrlHandler.php:37
Factory
ILIAS\StaticURL\Request\Request
ServerRequestInterface
ILIAS\Authentication\StaticUrlHandler\$ctrl
readonly ilCtrlInterface $ctrl
Definition:
StaticUrlHandler.php:34
ILIAS\Repository\ctrl
ctrl()
Definition:
trait.GlobalDICGUIServices.php:63
ILIAS\Authentication\StaticUrlHandler
Definition:
StaticUrlHandler.php:32
BaseHandler
$DIC
global $DIC
Definition:
shib_login.php:22
ILIAS\StaticURL\Response\Response
ILIAS\Data\Factory
Builds data types.
Definition:
Factory.php:35
Context
ILIAS\Authentication\StaticUrlHandler\handle
handle(Request $request, Context $context, Factory $response_factory)
Definition:
StaticUrlHandler.php:49
ILIAS\Context
Definition:
Context.php:23
ILIAS\UI\examples\Symbol\Glyph\Language\language
language()
description: > Example for rendring a language glyph.
Definition:
language.php:41
ILIAS\Authentication\StaticUrlHandler\$language
readonly ilLanguage $language
Definition:
StaticUrlHandler.php:35
ilCtrlInterface
components
ILIAS
Authentication
classes
StaticUrlHandler.php
Generated on Sat Apr 5 2025 23:02:25 for ILIAS by
1.8.13 (using
Doxyfile
)