ILIAS  release_8 Revision v8.24
class.ilAuthFrontendCredentialsHTTP.php
Go to the documentation of this file.
1<?php
2
19declare(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}
initFromRequest()
Init credentials from request.
setPassword(string $a_password)
Set password.
setUsername(string $a_name)
Set username.
$_SERVER['HTTP_HOST']
Definition: raiseError.php:10