ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
class.ilAuthFrontendCredentialsHTTP.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
28 {
32  public function initFromRequest(): void
33  {
34  $this->setUsername($_SERVER['PHP_AUTH_USER']);
35  $this->setPassword($_SERVER['PHP_AUTH_PW']);
36  }
37 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
setPassword(string $a_password)
Set password.
$_SERVER['HTTP_HOST']
Definition: raiseError.php:10
setUsername(string $a_name)
Set username.
initFromRequest()
Init credentials from request.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...