ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilAuthFrontendCredentialsSaml Class Reference
+ Inheritance diagram for ilAuthFrontendCredentialsSaml:
+ Collaboration diagram for ilAuthFrontendCredentialsSaml:

Public Member Functions

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

Private Attributes

string $return_to = ''
 
array $attributes = []
 

Additional Inherited Members

- Protected Attributes inherited from ilAuthFrontendCredentials
ilLogger $logger
 

Detailed Description

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

Constructor & Destructor Documentation

◆ __construct()

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

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

29 {
31
32 $this->setAttributes($this->auth->getAttributes());
33 }
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc

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

+ Here is the call graph for this function:

Member Function Documentation

◆ getAttributes()

ilAuthFrontendCredentialsSaml::getAttributes ( )

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

References $attributes.

◆ getReturnTo()

ilAuthFrontendCredentialsSaml::getReturnTo ( )

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

References $return_to.

◆ initFromRequest()

ilAuthFrontendCredentialsSaml::initFromRequest ( )

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

35 : void
36 {
37 $this->setReturnTo((string) ($this->request->getQueryParams()['target'] ?? ''));
38 }

References setReturnTo().

+ Here is the call graph for this function:

◆ setAttributes()

ilAuthFrontendCredentialsSaml::setAttributes ( array  $attributes)

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

40 : void
41 {
42 $this->attributes = $attributes;
43 }

References $attributes.

Referenced by __construct().

+ Here is the caller graph for this function:

◆ setReturnTo()

ilAuthFrontendCredentialsSaml::setReturnTo ( string  $return_to)

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

55 : void
56 {
57 $this->return_to = $return_to;
58 }

References $return_to.

Referenced by initFromRequest().

+ Here is the caller graph for this function:

Field Documentation

◆ $attributes

array ilAuthFrontendCredentialsSaml::$attributes = []
private

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

Referenced by getAttributes(), and setAttributes().

◆ $return_to

string ilAuthFrontendCredentialsSaml::$return_to = ''
private

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

Referenced by getReturnTo(), and setReturnTo().


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