ILIAS  trunk Revision v11.0_alpha-1715-g7fc467680fb
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ilAuthFrontendCredentialsHTTP Class Reference

HTTP auth credentials. More...

+ Inheritance diagram for ilAuthFrontendCredentialsHTTP:
+ Collaboration diagram for ilAuthFrontendCredentialsHTTP:

Public Member Functions

 initFromRequest ()
 Init credentials from request. More...
 
- Public Member Functions inherited from ilAuthFrontendCredentials
 __construct ()
 
 setUsername (string $a_name)
 Set username. More...
 
 getUsername ()
 Get username. More...
 
 setPassword (string $a_password)
 Set password. More...
 
 getPassword ()
 Get password. More...
 
 setAuthMode (string $a_auth_mode)
 Set auth mode. More...
 
 getAuthMode ()
 Get auth mode. More...
 

Detailed Description

HTTP auth credentials.

Author
Stefan Meyer smeye.nosp@m.r.il.nosp@m.ias@g.nosp@m.mx.d.nosp@m.e

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

Member Function Documentation

◆ initFromRequest()

ilAuthFrontendCredentialsHTTP::initFromRequest ( )

Init credentials from request.

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

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

32  : void
33  {
34  $this->setUsername($_SERVER['PHP_AUTH_USER']);
35  $this->setPassword($_SERVER['PHP_AUTH_PW']);
36  }
setPassword(string $a_password)
Set password.
$_SERVER['HTTP_HOST']
Definition: raiseError.php:26
setUsername(string $a_name)
Set username.
+ Here is the call graph for this function:

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