ILIAS  release_7 Revision v7.30-3-g800a261c036
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
5include_once './Services/Authentication/classes/Frontend/class.ilAuthFrontendCredentials.php';
6include_once './Services/Authentication/interfaces/interface.ilAuthCredentials.php';
7
15{
16 private $settings = null;
17
18
22 public function __construct()
23 {
25 }
26
30 public function initFromRequest()
31 {
32 $this->setUsername($_SERVER['PHP_AUTH_USER']);
33 $this->setPassword($_SERVER['PHP_AUTH_PW']);
34 }
35}
An exception for terminatinating execution or to throw for unit testing.
initFromRequest()
Init credentials from request.
Interface of auth credentials.
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc
$_SERVER['HTTP_HOST']
Definition: raiseError.php:10