ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
◀ ilDoc Overview
class.ilAuthFrontendCredentials.php
Go to the documentation of this file.
1
<?
php
2
3
/* Copyright (c) 1998-2010 ILIAS open source, Extended GPL, see docs/LICENSE */
4
5
include_once
'./Services/Authentication/interfaces/interface.ilAuthCredentials.php'
;
6
13
class
ilAuthFrontendCredentials
implements
ilAuthCredentials
14
{
15
private
$logger
= null;
16
17
private
$username
=
''
;
18
private
$password
=
''
;
19
private
$captcha
=
''
;
20
private
$auth_mode
=
''
;
21
22
public
function
__construct
()
23
{
24
$this->logger =
ilLoggerFactory::getLogger
(
'auth'
);
25
}
26
31
public
function
getLogger
()
32
{
33
return
$this->logger
;
34
}
35
40
public
function
setUsername
($a_name)
41
{
42
$this->
getLogger
()->debug(
'Username: "'
.$a_name.
'"'
);
43
$this->username = trim($a_name);
44
}
45
49
public
function
getUsername
()
50
{
51
return
$this->username
;
52
}
53
58
public
function
setPassword
($a_password)
59
{
60
$this->password = $a_password;
61
}
62
66
public
function
getPassword
()
67
{
68
return
$this->password
;
69
}
70
71
76
public
function
setCaptchaCode
($a_code)
77
{
78
$this->captcha = $a_code;
79
}
80
84
public
function
getCaptchaCode
()
85
{
86
return
$this->captcha
;
87
}
88
89
94
public
function
setAuthMode
($a_auth_mode)
95
{
96
$this->auth_mode = $a_auth_mode;
97
}
98
102
public
function
getAuthMode
()
103
{
104
return
$this->auth_mode
;
105
}
106
}
107
?>
ilAuthFrontendCredentials\setAuthMode
setAuthMode($a_auth_mode)
Set auth mode.
Definition:
class.ilAuthFrontendCredentials.php:94
ilAuthFrontendCredentials\getAuthMode
getAuthMode()
Get auth mode.
Definition:
class.ilAuthFrontendCredentials.php:102
ilAuthCredentials
Interface of auth credentials.
Definition:
interface.ilAuthCredentials.php:11
ilAuthFrontendCredentials\getLogger
getLogger()
Get logger.
Definition:
class.ilAuthFrontendCredentials.php:31
ilAuthFrontendCredentials\$username
$username
Definition:
class.ilAuthFrontendCredentials.php:17
ilAuthFrontendCredentials\$captcha
$captcha
Definition:
class.ilAuthFrontendCredentials.php:19
ilAuthFrontendCredentials\getCaptchaCode
getCaptchaCode()
Get captcha code.
Definition:
class.ilAuthFrontendCredentials.php:84
ilAuthFrontendCredentials\$logger
$logger
Definition:
class.ilAuthFrontendCredentials.php:15
ilAuthFrontendCredentials\__construct
__construct()
Definition:
class.ilAuthFrontendCredentials.php:22
ilAuthFrontendCredentials\$auth_mode
$auth_mode
Definition:
class.ilAuthFrontendCredentials.php:20
ilAuthFrontendCredentials\$password
$password
Definition:
class.ilAuthFrontendCredentials.php:18
ilAuthFrontendCredentials\getUsername
getUsername()
Get username.
Definition:
class.ilAuthFrontendCredentials.php:49
ilAuthFrontendCredentials\setPassword
setPassword($a_password)
Set password.
Definition:
class.ilAuthFrontendCredentials.php:58
ilAuthFrontendCredentials\setUsername
setUsername($a_name)
Set username.
Definition:
class.ilAuthFrontendCredentials.php:40
ilAuthFrontendCredentials\setCaptchaCode
setCaptchaCode($a_code)
Set captcha code.
Definition:
class.ilAuthFrontendCredentials.php:76
php
ilLoggerFactory\getLogger
static getLogger($a_component_id)
Get component logger.
Definition:
class.ilLoggerFactory.php:82
ilAuthFrontendCredentials
Description of class class.
Definition:
class.ilAuthFrontendCredentials.php:13
ilAuthFrontendCredentials\getPassword
getPassword()
Get password.
Definition:
class.ilAuthFrontendCredentials.php:66
Services
Authentication
classes
Frontend
class.ilAuthFrontendCredentials.php
Generated on Fri Jan 17 2025 19:01:08 for ILIAS by
1.8.13 (using
Doxyfile
)