ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
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 ()
 
 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 ( )

Reimplemented in ilAuthFrontendCredentialsShibboleth, ilAuthFrontendCredentialsLTI, and ilAuthFrontendCredentialsOpenIdConnect.

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

29 {
30 global $DIC;
31 $this->logger = $DIC->logger()->auth();
32 }
global $DIC
Definition: shib_login.php:26

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

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

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

References $auth_mode.

◆ getPassword()

ilAuthFrontendCredentials::getPassword ( )

Implements ilAuthCredentials.

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

50 : string
51 {
52 return $this->password;
53 }

References $password.

Referenced by ilAuthFrontendCredentialsSoap\tryAuthenticationOnLoginPage().

+ Here is the caller graph for this function:

◆ getUsername()

ilAuthFrontendCredentials::getUsername ( )

Implements ilAuthCredentials.

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

40 : string
41 {
42 return $this->username;
43 }

References $username.

Referenced by ilAuthFrontendCredentialsSoap\tryAuthenticationOnLoginPage().

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

45 : void
46 {
47 $this->password = $a_password;
48 }

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

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

34 : void
35 {
36 $this->logger->debug('Username: "' . $a_name . '"');
37 $this->username = trim($a_name);
38 }

References ILIAS\Repository\logger().

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

+ 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: