ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
ilAuthFrontendCredentials Class Reference
+ Inheritance diagram for ilAuthFrontendCredentials:
+ Collaboration diagram for ilAuthFrontendCredentials:

Public Member Functions

 __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...
 

Private Attributes

ilLogger $logger
 
string $username = ''
 
string $password = ''
 
string $auth_mode = ''
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

ilAuthFrontendCredentials::__construct ( )

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

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

33  {
34  global $DIC;
35  $this->logger = $DIC->logger()->auth();
36  }
global $DIC
Definition: feed.php:28
+ Here is the call graph for this function:

Member Function Documentation

◆ getAuthMode()

ilAuthFrontendCredentials::getAuthMode ( )

Get auth mode.

Implements ilAuthCredentials.

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

References $auth_mode.

82  : string
83  {
84  return $this->auth_mode;
85  }

◆ getPassword()

ilAuthFrontendCredentials::getPassword ( )

Get password.

Implements ilAuthCredentials.

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

References $password.

Referenced by ilAuthFrontendCredentialsSoap\tryAuthenticationOnLoginPage().

66  : string
67  {
68  return $this->password;
69  }
+ Here is the caller graph for this function:

◆ getUsername()

ilAuthFrontendCredentials::getUsername ( )

Get username.

Implements ilAuthCredentials.

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

References $username.

Referenced by ilAuthFrontendCredentialsSoap\tryAuthenticationOnLoginPage().

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

◆ setAuthMode()

ilAuthFrontendCredentials::setAuthMode ( string  $a_auth_mode)

Set auth mode.

Implements ilAuthCredentials.

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

74  : void
75  {
76  $this->auth_mode = $a_auth_mode;
77  }

◆ setPassword()

ilAuthFrontendCredentials::setPassword ( string  $a_password)

Set password.

Implements ilAuthCredentials.

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

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

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

◆ setUsername()

ilAuthFrontendCredentials::setUsername ( string  $a_name)

Set username.

Implements ilAuthCredentials.

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

References ILIAS\Repository\logger().

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

41  : void
42  {
43  $this->logger->debug('Username: "' . $a_name . '"');
44  $this->username = trim($a_name);
45  }
+ 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 30 of file class.ilAuthFrontendCredentials.php.

Referenced by getAuthMode().

◆ $logger

ilLogger ilAuthFrontendCredentials::$logger
private

◆ $password

string ilAuthFrontendCredentials::$password = ''
private

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

Referenced by getPassword().

◆ $username

string ilAuthFrontendCredentials::$username = ''
private

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

Referenced by getUsername().


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