ILIAS  release_8 Revision v8.24
ilAuthFrontendCredentialsSaml Class Reference

Class ilAuthFrontendCredentialsSaml. More...

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

Public Member Functions

 __construct (ilSamlAuth $auth, ServerRequestInterface $request)
 
 initFromRequest ()
 
 setAttributes (array $attributes)
 
 getAttributes ()
 
 getReturnTo ()
 
 setReturnTo (string $return_to)
 
- Public Member Functions inherited from ilAuthFrontendCredentials
 __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

ilSamlAuth $auth
 
ServerRequestInterface $request
 
string $return_to = ''
 
array $attributes = []
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

ilAuthFrontendCredentialsSaml::__construct ( ilSamlAuth  $auth,
ServerRequestInterface  $request 
)

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

35 {
37
38 $this->auth = $auth;
39 $this->request = $request;
40
41 $this->setAttributes($this->auth->getAttributes());
42 }
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc

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

+ Here is the call graph for this function:

Member Function Documentation

◆ getAttributes()

ilAuthFrontendCredentialsSaml::getAttributes ( )

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

References $attributes.

◆ getReturnTo()

ilAuthFrontendCredentialsSaml::getReturnTo ( )

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

References $return_to.

◆ initFromRequest()

ilAuthFrontendCredentialsSaml::initFromRequest ( )

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

44 : void
45 {
46 $this->setReturnTo((string) ($this->request->getQueryParams()['target'] ?? ''));
47 }

References setReturnTo().

+ Here is the call graph for this function:

◆ setAttributes()

ilAuthFrontendCredentialsSaml::setAttributes ( array  $attributes)

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

49 : void
50 {
51 $this->attributes = $attributes;
52 }

References $attributes.

Referenced by __construct().

+ Here is the caller graph for this function:

◆ setReturnTo()

ilAuthFrontendCredentialsSaml::setReturnTo ( string  $return_to)

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

64 : void
65 {
66 $this->return_to = $return_to;
67 }

References $return_to.

Referenced by initFromRequest().

+ Here is the caller graph for this function:

Field Documentation

◆ $attributes

array ilAuthFrontendCredentialsSaml::$attributes = []
private

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

Referenced by getAttributes(), and setAttributes().

◆ $auth

ilSamlAuth ilAuthFrontendCredentialsSaml::$auth
private

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

Referenced by __construct().

◆ $request

ServerRequestInterface ilAuthFrontendCredentialsSaml::$request
private

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

Referenced by __construct().

◆ $return_to

string ilAuthFrontendCredentialsSaml::$return_to = ''
private

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

Referenced by getReturnTo(), and setReturnTo().


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