ILIAS  trunk Revision v11.0_alpha-2662-g519ff7d528f
ilAuthFrontendCredentialsHTTP Class Reference
+ Inheritance diagram for ilAuthFrontendCredentialsHTTP:
+ Collaboration diagram for ilAuthFrontendCredentialsHTTP:

Public Member Functions

 initFromRequest ()
 
- Public Member Functions inherited from ilAuthFrontendCredentials
 __construct ()
 
 setUsername (string $a_name)
 
 getUsername ()
 
 setPassword (string $a_password)
 
 getPassword ()
 
 setAuthMode (string $a_auth_mode)
 
 getAuthMode ()
 

Additional Inherited Members

- Protected Attributes inherited from ilAuthFrontendCredentials
ilLogger $logger
 

Detailed Description

Definition at line 21 of file class.ilAuthFrontendCredentialsHTTP.php.

Member Function Documentation

◆ initFromRequest()

ilAuthFrontendCredentialsHTTP::initFromRequest ( )

Definition at line 23 of file class.ilAuthFrontendCredentialsHTTP.php.

References $_SERVER, ilAuthFrontendCredentials\setPassword(), and ilAuthFrontendCredentials\setUsername().

23  : void
24  {
25  $this->setUsername($_SERVER['PHP_AUTH_USER']);
26  $this->setPassword($_SERVER['PHP_AUTH_PW']);
27  }
$_SERVER['HTTP_HOST']
Definition: raiseError.php:26
+ Here is the call graph for this function:

The documentation for this class was generated from the following file: