ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
class.ilAuthFrontendCredentialsHTTP.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/classes/Frontend/class.ilAuthFrontendCredentials.php'
;
6
include_once
'./Services/Authentication/interfaces/interface.ilAuthCredentials.php'
;
7
14
class
ilAuthFrontendCredentialsHTTP
extends
ilAuthFrontendCredentials
implements
ilAuthCredentials
15
{
16
private
$settings
= null;
17
18
22
public
function
__construct
()
23
{
24
parent::__construct();
25
}
26
30
public
function
initFromRequest
()
31
{
32
$this->
setUsername
(
$_SERVER
[
'PHP_AUTH_USER'
]);
33
$this->
setPassword
(
$_SERVER
[
'PHP_AUTH_PW'
]);
34
}
35
}
ilAuthFrontendCredentialsHTTP
HTTP auth credentials.
Definition:
class.ilAuthFrontendCredentialsHTTP.php:14
$_SERVER
if((!isset($_SERVER['DOCUMENT_ROOT'])) OR(empty($_SERVER['DOCUMENT_ROOT']))) $_SERVER['DOCUMENT_ROOT']
Definition:
tcpdf_autoconfig.php:54
ilAuthCredentials
Interface of auth credentials.
Definition:
interface.ilAuthCredentials.php:11
ilAuthFrontendCredentialsHTTP\$settings
$settings
Definition:
class.ilAuthFrontendCredentialsHTTP.php:16
ilAuthFrontendCredentials\setPassword
setPassword($a_password)
Set password.
Definition:
class.ilAuthFrontendCredentials.php:67
ilAuthFrontendCredentials\setUsername
setUsername($a_name)
Set username.
Definition:
class.ilAuthFrontendCredentials.php:49
ilAuthFrontendCredentialsHTTP\initFromRequest
initFromRequest()
Init credentials from request.
Definition:
class.ilAuthFrontendCredentialsHTTP.php:30
php
ilAuthFrontendCredentials
Description of class class.
Definition:
class.ilAuthFrontendCredentials.php:13
ilAuthFrontendCredentialsHTTP\__construct
__construct()
Constructor.
Definition:
class.ilAuthFrontendCredentialsHTTP.php:22
Services
Authentication
classes
Frontend
class.ilAuthFrontendCredentialsHTTP.php
Generated on Thu Jan 16 2025 19:02:16 for ILIAS by
1.8.13 (using
Doxyfile
)