ILIAS  trunk Revision v11.0_alpha-1723-g8e69f309bab
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
class.ilAuthFrontendCredentialsHTTP.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
28 {
32  public function initFromRequest(): void
33  {
34  $this->setUsername($_SERVER['PHP_AUTH_USER']);
35  $this->setPassword($_SERVER['PHP_AUTH_PW']);
36  }
37 }
setPassword(string $a_password)
Set password.
$_SERVER['HTTP_HOST']
Definition: raiseError.php:26
setUsername(string $a_name)
Set username.
initFromRequest()
Init credentials from request.