ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ilAuthFrontendCredentialsSaml Class Reference

Class ilAuthFrontendCredentialsSaml. More...

+ Inheritance diagram for ilAuthFrontendCredentialsSaml:
+ Collaboration diagram for ilAuthFrontendCredentialsSaml:

Public Member Functions

 __construct (ilSamlAuth $auth)
 ilAuthFrontendCredentialsSaml constructor. More...
 
 initFromRequest ()
 Init credentials from request. More...
 
 setAttributes (array $attributes)
 
 getAttributes ()
 
 getReturnTo ()
 
 setReturnTo ($return_to)
 
- Public Member Functions inherited from ilAuthFrontendCredentials
 __construct ()
 
 getLogger ()
 Get logger. More...
 
 setLogger (ilLogger $logger)
 Set 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...
 

Protected Attributes

 $attributes = array()
 
 $return_to = ''
 
 $auth
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

ilAuthFrontendCredentialsSaml::__construct ( ilSamlAuth  $auth)

ilAuthFrontendCredentialsSaml constructor.

Parameters
ilSamlAuth$auth

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

References $auth, and setAttributes().

32  {
33  parent::__construct();
34 
35  $this->auth = $auth;
36 
37  $this->setAttributes($this->auth->getAttributes());
38  }
+ Here is the call graph for this function:

Member Function Documentation

◆ getAttributes()

ilAuthFrontendCredentialsSaml::getAttributes ( )
Returns
array

Definition at line 59 of file class.ilAuthFrontendCredentialsSaml.php.

References $attributes.

◆ getReturnTo()

ilAuthFrontendCredentialsSaml::getReturnTo ( )
Returns
string

Definition at line 67 of file class.ilAuthFrontendCredentialsSaml.php.

References $return_to.

◆ initFromRequest()

ilAuthFrontendCredentialsSaml::initFromRequest ( )

Init credentials from request.

Definition at line 43 of file class.ilAuthFrontendCredentialsSaml.php.

References $_GET, and setReturnTo().

44  {
45  $this->setReturnTo(isset($_GET['target']) ? $_GET['target'] : '');
46  }
$_GET["client_id"]
+ Here is the call graph for this function:

◆ setAttributes()

ilAuthFrontendCredentialsSaml::setAttributes ( array  $attributes)
Parameters
array$attributes

Definition at line 51 of file class.ilAuthFrontendCredentialsSaml.php.

References $attributes.

Referenced by __construct().

52  {
53  $this->attributes = $attributes;
54  }
+ Here is the caller graph for this function:

◆ setReturnTo()

ilAuthFrontendCredentialsSaml::setReturnTo (   $return_to)
Parameters
string$return_to

Definition at line 75 of file class.ilAuthFrontendCredentialsSaml.php.

References $return_to.

Referenced by initFromRequest().

76  {
77  $this->return_to = $return_to;
78  }
+ Here is the caller graph for this function:

Field Documentation

◆ $attributes

ilAuthFrontendCredentialsSaml::$attributes = array()
protected

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

Referenced by getAttributes(), and setAttributes().

◆ $auth

ilAuthFrontendCredentialsSaml::$auth
protected

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

Referenced by __construct().

◆ $return_to

ilAuthFrontendCredentialsSaml::$return_to = ''
protected

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

Referenced by getReturnTo(), and setReturnTo().


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