ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ ilDoc Overview
class.ilAuthFrontendCredentials.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
class
ilAuthFrontendCredentials
implements
ilAuthCredentials
22
{
23
protected
ilLogger
$logger
;
24
private
string
$username
=
''
;
25
private
string
$password
=
''
;
26
private
string
$auth_mode
=
''
;
27
28
public
function
__construct
()
29
{
30
global
$DIC
;
31
$this->
logger
= $DIC->logger()->auth();
32
}
33
34
public
function
setUsername
(
string
$a_name): void
35
{
36
$this->
logger
->debug(
'Username: "'
. $a_name .
'"'
);
37
$this->username = trim($a_name);
38
}
39
40
public
function
getUsername
(): string
41
{
42
return
$this->username
;
43
}
44
45
public
function
setPassword
(
string
$a_password): void
46
{
47
$this->password = $a_password;
48
}
49
50
public
function
getPassword
(): string
51
{
52
return
$this->password
;
53
}
54
55
public
function
setAuthMode
(
string
$a_auth_mode): void
56
{
57
$this->auth_mode = $a_auth_mode;
58
}
59
60
public
function
getAuthMode
(): string
61
{
62
return
$this->auth_mode
;
63
}
64
}
ilLogger
ilAuthFrontendCredentials\getAuthMode
getAuthMode()
Definition:
class.ilAuthFrontendCredentials.php:60
ilAuthCredentials
Definition:
interface.ilAuthCredentials.php:21
ilAuthFrontendCredentials\$auth_mode
string $auth_mode
Definition:
class.ilAuthFrontendCredentials.php:26
ilAuthFrontendCredentials\$username
string $username
Definition:
class.ilAuthFrontendCredentials.php:24
ilAuthFrontendCredentials\setAuthMode
setAuthMode(string $a_auth_mode)
Definition:
class.ilAuthFrontendCredentials.php:55
ilAuthFrontendCredentials\__construct
__construct()
Definition:
class.ilAuthFrontendCredentials.php:28
ilAuthFrontendCredentials\setPassword
setPassword(string $a_password)
Definition:
class.ilAuthFrontendCredentials.php:45
ilAuthFrontendCredentials\$logger
ilLogger $logger
Definition:
class.ilAuthFrontendCredentials.php:23
ilAuthFrontendCredentials\getUsername
getUsername()
Definition:
class.ilAuthFrontendCredentials.php:40
$DIC
global $DIC
Definition:
shib_login.php:26
ilAuthFrontendCredentials\$password
string $password
Definition:
class.ilAuthFrontendCredentials.php:25
ilAuthFrontendCredentials\setUsername
setUsername(string $a_name)
Definition:
class.ilAuthFrontendCredentials.php:34
ILIAS\Repository\logger
logger()
Definition:
trait.GlobalDICDomainServices.php:71
ilAuthFrontendCredentials
Definition:
class.ilAuthFrontendCredentials.php:21
ilAuthFrontendCredentials\getPassword
getPassword()
Definition:
class.ilAuthFrontendCredentials.php:50
components
ILIAS
Authentication
classes
Frontend
class.ilAuthFrontendCredentials.php
Generated on Sun Aug 31 2025 23:02:08 for ILIAS by
1.8.13 (using
Doxyfile
)