ILIAS  release_8 Revision v8.24
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...
 
 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 ( )

Reimplemented in ilAuthFrontendCredentialsShibboleth, ilAuthFrontendCredentialsLTI, and ilAuthFrontendCredentialsOpenIdConnect.

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

33 {
34 global $DIC;
35 $this->logger = $DIC->logger()->auth();
36 }
global $DIC
Definition: feed.php:28

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

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

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

References $auth_mode.

◆ getPassword()

ilAuthFrontendCredentials::getPassword ( )

Get password.

Implements ilAuthCredentials.

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

66 : string
67 {
68 return $this->password;
69 }

References $password.

Referenced by ilAuthFrontendCredentialsSoap\tryAuthenticationOnLoginPage().

+ Here is the caller graph for this function:

◆ getUsername()

ilAuthFrontendCredentials::getUsername ( )

Get username.

Implements ilAuthCredentials.

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

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

References $username.

Referenced by ilAuthFrontendCredentialsSoap\tryAuthenticationOnLoginPage().

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

58 : void
59 {
60 $this->password = $a_password;
61 }

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

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

41 : void
42 {
43 $this->logger->debug('Username: "' . $a_name . '"');
44 $this->username = trim($a_name);
45 }

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