ILIAS  trunk Revision v11.0_alpha-2638-g80c1d007f79
ilAuthFrontendCredentials Class Reference
+ Inheritance diagram for ilAuthFrontendCredentials:
+ Collaboration diagram for ilAuthFrontendCredentials:

Public Member Functions

 __construct ()
 
 setUsername (string $a_name)
 
 getUsername ()
 
 setPassword (string $a_password)
 
 getPassword ()
 
 setAuthMode (string $a_auth_mode)
 
 getAuthMode ()
 

Protected Attributes

ilLogger $logger
 

Private Attributes

string $username = ''
 
string $password = ''
 
string $auth_mode = ''
 

Detailed Description

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

Constructor & Destructor Documentation

◆ __construct()

ilAuthFrontendCredentials::__construct ( )

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

References $DIC, and ILIAS\Repository\logger().

29  {
30  global $DIC;
31  $this->logger = $DIC->logger()->auth();
32  }
global $DIC
Definition: shib_login.php:26
+ Here is the call graph for this function:

Member Function Documentation

◆ getAuthMode()

ilAuthFrontendCredentials::getAuthMode ( )

Implements ilAuthCredentials.

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

References $auth_mode.

60  : string
61  {
62  return $this->auth_mode;
63  }

◆ getPassword()

ilAuthFrontendCredentials::getPassword ( )

Implements ilAuthCredentials.

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

References $password.

Referenced by ilAuthFrontendCredentialsSoap\tryAuthenticationOnLoginPage().

50  : string
51  {
52  return $this->password;
53  }
+ Here is the caller graph for this function:

◆ getUsername()

ilAuthFrontendCredentials::getUsername ( )

Implements ilAuthCredentials.

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

References $username.

Referenced by ilAuthFrontendCredentialsSoap\tryAuthenticationOnLoginPage().

40  : string
41  {
42  return $this->username;
43  }
+ Here is the caller graph for this function:

◆ setAuthMode()

ilAuthFrontendCredentials::setAuthMode ( string  $a_auth_mode)

Implements ilAuthCredentials.

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

55  : void
56  {
57  $this->auth_mode = $a_auth_mode;
58  }

◆ setPassword()

ilAuthFrontendCredentials::setPassword ( string  $a_password)

Implements ilAuthCredentials.

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

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

45  : void
46  {
47  $this->password = $a_password;
48  }
+ Here is the caller graph for this function:

◆ setUsername()

ilAuthFrontendCredentials::setUsername ( string  $a_name)

Implements ilAuthCredentials.

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

References ILIAS\Repository\logger().

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

34  : void
35  {
36  $this->logger->debug('Username: "' . $a_name . '"');
37  $this->username = trim($a_name);
38  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Field Documentation

◆ $auth_mode

string ilAuthFrontendCredentials::$auth_mode = ''
private

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

Referenced by getAuthMode().

◆ $logger

ilLogger ilAuthFrontendCredentials::$logger
protected

◆ $password

string ilAuthFrontendCredentials::$password = ''
private

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

Referenced by getPassword().

◆ $username

string ilAuthFrontendCredentials::$username = ''
private

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

Referenced by getUsername().


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