ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
ilAuthFrontendCredentials Class Reference

Description of class class. More...

+ Inheritance diagram for ilAuthFrontendCredentials:
+ Collaboration diagram for ilAuthFrontendCredentials:

Public Member Functions

 __construct ()
 
 getLogger ()
 Get logger. More...
 
 setUsername ($a_name)
 Set username. More...
 
 getUsername ()
 Get username. More...
 
 setPassword ($a_password)
 Set password. More...
 
 getPassword ()
 Get password. More...
 
 setCaptchaCode ($a_code)
 Set captcha code. More...
 
 getCaptchaCode ()
 Get captcha code. More...
 
 setAuthMode ($a_auth_mode)
 Set auth mode. More...
 
 getAuthMode ()
 Get auth mode. More...
 

Private Attributes

 $logger = null
 
 $username = ''
 
 $password = ''
 
 $captcha = ''
 
 $auth_mode = ''
 

Detailed Description

Description of class class.

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

Definition at line 13 of file class.ilAuthFrontendCredentials.php.

Constructor & Destructor Documentation

◆ __construct()

ilAuthFrontendCredentials::__construct ( )

Definition at line 22 of file class.ilAuthFrontendCredentials.php.

References ilLoggerFactory\getLogger().

23  {
24  $this->logger = ilLoggerFactory::getLogger('auth');
25  }
static getLogger($a_component_id)
Get component logger.
+ Here is the call graph for this function:

Member Function Documentation

◆ getAuthMode()

ilAuthFrontendCredentials::getAuthMode ( )

Get auth mode.

Implements ilAuthCredentials.

Definition at line 102 of file class.ilAuthFrontendCredentials.php.

References $auth_mode.

◆ getCaptchaCode()

ilAuthFrontendCredentials::getCaptchaCode ( )

Get captcha code.

Implements ilAuthCredentials.

Definition at line 84 of file class.ilAuthFrontendCredentials.php.

References $captcha.

◆ getLogger()

ilAuthFrontendCredentials::getLogger ( )

Get logger.

Returns

Definition at line 31 of file class.ilAuthFrontendCredentials.php.

References $logger.

Referenced by ilAuthFrontendCredentialsApache\initFromRequest(), and setUsername().

+ Here is the caller graph for this function:

◆ getPassword()

ilAuthFrontendCredentials::getPassword ( )

Get password.

Implements ilAuthCredentials.

Definition at line 66 of file class.ilAuthFrontendCredentials.php.

References $password.

◆ getUsername()

ilAuthFrontendCredentials::getUsername ( )

Get username.

Implements ilAuthCredentials.

Definition at line 49 of file class.ilAuthFrontendCredentials.php.

References $username.

◆ setAuthMode()

ilAuthFrontendCredentials::setAuthMode (   $a_auth_mode)

Set auth mode.

Parameters
type$a_auth_mode

Implements ilAuthCredentials.

Definition at line 94 of file class.ilAuthFrontendCredentials.php.

95  {
96  $this->auth_mode = $a_auth_mode;
97  }

◆ setCaptchaCode()

ilAuthFrontendCredentials::setCaptchaCode (   $a_code)

Set captcha code.

Parameters
string

Implements ilAuthCredentials.

Definition at line 76 of file class.ilAuthFrontendCredentials.php.

77  {
78  $this->captcha = $a_code;
79  }

◆ setPassword()

ilAuthFrontendCredentials::setPassword (   $a_password)

Set password.

Parameters
string$a_password

Implements ilAuthCredentials.

Definition at line 58 of file class.ilAuthFrontendCredentials.php.

Referenced by ilAuthFrontendCredentialsHTTP\initFromRequest(), and ilAuthFrontendCredentialsShibboleth\initFromRequest().

59  {
60  $this->password = $a_password;
61  }
+ Here is the caller graph for this function:

◆ setUsername()

ilAuthFrontendCredentials::setUsername (   $a_name)

Set username.

Parameters
stringusername

Implements ilAuthCredentials.

Definition at line 40 of file class.ilAuthFrontendCredentials.php.

References getLogger().

Referenced by ilAuthFrontendCredentialsHTTP\initFromRequest(), ilAuthFrontendCredentialsShibboleth\initFromRequest(), and ilAuthFrontendCredentialsApache\initFromRequest().

41  {
42  $this->getLogger()->debug('Username: "'.$a_name.'"');
43  $this->username = trim($a_name);
44  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Field Documentation

◆ $auth_mode

ilAuthFrontendCredentials::$auth_mode = ''
private

Definition at line 20 of file class.ilAuthFrontendCredentials.php.

Referenced by getAuthMode().

◆ $captcha

ilAuthFrontendCredentials::$captcha = ''
private

Definition at line 19 of file class.ilAuthFrontendCredentials.php.

Referenced by getCaptchaCode().

◆ $logger

ilAuthFrontendCredentials::$logger = null
private

Definition at line 15 of file class.ilAuthFrontendCredentials.php.

Referenced by getLogger().

◆ $password

ilAuthFrontendCredentials::$password = ''
private

Definition at line 18 of file class.ilAuthFrontendCredentials.php.

Referenced by getPassword().

◆ $username

ilAuthFrontendCredentials::$username = ''
private

Definition at line 17 of file class.ilAuthFrontendCredentials.php.

Referenced by getUsername().


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