ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
All Data Structures Namespaces Files Functions Variables Modules Pages
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 (string $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 = []
 
 $return_to = ''
 
 $auth
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

ilAuthFrontendCredentialsSaml::__construct ( ilSamlAuth  $auth)

ilAuthFrontendCredentialsSaml constructor.

Parameters
ilSamlAuth$auth

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

References $auth, ILIAS\GlobalScreen\Provider\__construct(), and setAttributes().

21  {
23 
24  $this->auth = $auth;
25 
26  $this->setAttributes($this->auth->getAttributes());
27  }
__construct(Container $dic, ilPlugin $plugin)
+ Here is the call graph for this function:

Member Function Documentation

◆ getAttributes()

ilAuthFrontendCredentialsSaml::getAttributes ( )
Returns
array

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

References $attributes.

◆ getReturnTo()

ilAuthFrontendCredentialsSaml::getReturnTo ( )
Returns
string

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

References $return_to.

◆ initFromRequest()

ilAuthFrontendCredentialsSaml::initFromRequest ( )

Init credentials from request.

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

References $_GET, and setReturnTo().

32  : void
33  {
34  $this->setReturnTo(isset($_GET['target']) ? $_GET['target'] : '');
35  }
$_GET["client_id"]
+ Here is the call graph for this function:

◆ setAttributes()

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

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

References $attributes.

Referenced by __construct().

40  : void
41  {
42  $this->attributes = $attributes;
43  }
+ Here is the caller graph for this function:

◆ setReturnTo()

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

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

References $return_to.

Referenced by initFromRequest().

64  : void
65  {
66  $this->return_to = $return_to;
67  }
+ Here is the caller graph for this function:

Field Documentation

◆ $attributes

ilAuthFrontendCredentialsSaml::$attributes = []
protected

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

Referenced by getAttributes(), and setAttributes().

◆ $auth

ilAuthFrontendCredentialsSaml::$auth
protected

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

Referenced by __construct().

◆ $return_to

ilAuthFrontendCredentialsSaml::$return_to = ''
protected

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

Referenced by getReturnTo(), and setReturnTo().


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