ILIAS
trunk Revision v11.0_alpha-1753-gb21ca8c4367
◀ 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
class.ilAuthFrontendCredentials.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
24
class
ilAuthFrontendCredentials
implements
ilAuthCredentials
25
{
26
private
ilLogger
$logger
;
27
28
private
string
$username
=
''
;
29
private
string
$password
=
''
;
30
private
string
$auth_mode
=
''
;
31
32
public
function
__construct
()
33
{
34
global
$DIC
;
35
$this->
logger
= $DIC->logger()->auth();
36
}
37
41
public
function
setUsername
(
string
$a_name): void
42
{
43
$this->
logger
->debug(
'Username: "'
. $a_name .
'"'
);
44
$this->username = trim($a_name);
45
}
46
50
public
function
getUsername
(): string
51
{
52
return
$this->username
;
53
}
54
58
public
function
setPassword
(
string
$a_password): void
59
{
60
$this->password = $a_password;
61
}
62
66
public
function
getPassword
(): string
67
{
68
return
$this->password
;
69
}
70
74
public
function
setAuthMode
(
string
$a_auth_mode): void
75
{
76
$this->auth_mode = $a_auth_mode;
77
}
78
82
public
function
getAuthMode
(): string
83
{
84
return
$this->auth_mode
;
85
}
86
}
ilLogger
ilAuthFrontendCredentials\getAuthMode
getAuthMode()
Get auth mode.
Definition:
class.ilAuthFrontendCredentials.php:82
ilAuthCredentials
Interface of auth credentials.
Definition:
interface.ilAuthCredentials.php:27
ilAuthFrontendCredentials\$auth_mode
string $auth_mode
Definition:
class.ilAuthFrontendCredentials.php:30
ilAuthFrontendCredentials\$username
string $username
Definition:
class.ilAuthFrontendCredentials.php:28
ilAuthFrontendCredentials\setAuthMode
setAuthMode(string $a_auth_mode)
Set auth mode.
Definition:
class.ilAuthFrontendCredentials.php:74
ilAuthFrontendCredentials\__construct
__construct()
Definition:
class.ilAuthFrontendCredentials.php:32
ilAuthFrontendCredentials\setPassword
setPassword(string $a_password)
Set password.
Definition:
class.ilAuthFrontendCredentials.php:58
ilAuthFrontendCredentials\$logger
ilLogger $logger
Definition:
class.ilAuthFrontendCredentials.php:26
ilAuthFrontendCredentials\getUsername
getUsername()
Get username.
Definition:
class.ilAuthFrontendCredentials.php:50
$DIC
global $DIC
Definition:
shib_login.php:22
ilAuthFrontendCredentials\$password
string $password
Definition:
class.ilAuthFrontendCredentials.php:29
ilAuthFrontendCredentials\setUsername
setUsername(string $a_name)
Set username.
Definition:
class.ilAuthFrontendCredentials.php:41
ILIAS\Repository\logger
logger()
Definition:
trait.GlobalDICDomainServices.php:71
ilAuthFrontendCredentials
Definition:
class.ilAuthFrontendCredentials.php:24
ilAuthFrontendCredentials\getPassword
getPassword()
Get password.
Definition:
class.ilAuthFrontendCredentials.php:66
components
ILIAS
Authentication
classes
Frontend
class.ilAuthFrontendCredentials.php
Generated on Thu Apr 10 2025 23:02:28 for ILIAS by
1.8.13 (using
Doxyfile
)