ILIAS  trunk Revision v12.0_alpha-16-g3e876e53c80
ilShibbolethAuthStrategy Class Reference
+ Inheritance diagram for ilShibbolethAuthStrategy:
+ Collaboration diagram for ilShibbolethAuthStrategy:

Public Member Functions

 __construct (private ilCtrlInterface $ctrl, private ilLogger $logger)
 
 getName ()
 
 isActive ()
 
 handleLogin (string $redirection_target)
 
 isActive ()
 
 getName ()
 
 handleLogin (string $redirection_target)
 

Detailed Description

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

Constructor & Destructor Documentation

◆ __construct()

ilShibbolethAuthStrategy::__construct ( private ilCtrlInterface  $ctrl,
private ilLogger  $logger 
)

Definition at line 22 of file class.ilShibbolethAuthStrategy.php.

25 {
26 }

Member Function Documentation

◆ getName()

ilShibbolethAuthStrategy::getName ( )

Reimplemented from ilECSAuthStrategy.

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

28 : string
29 {
30 return 'shib';
31 }

◆ handleLogin()

ilShibbolethAuthStrategy::handleLogin ( string  $redirection_target)

Reimplemented from ilECSAuthStrategy.

Definition at line 38 of file class.ilShibbolethAuthStrategy.php.

38 : void
39 {
40 $this->logger->info('Redirect to shibboleth authentication');
41 $this->ctrl->redirectToURL('shib_login.php?target=' . $redirection_target);
42 }

References ILIAS\Repository\ctrl(), and ILIAS\Repository\logger().

+ Here is the call graph for this function:

◆ isActive()

ilShibbolethAuthStrategy::isActive ( )

Reimplemented from ilECSAuthStrategy.

Definition at line 33 of file class.ilShibbolethAuthStrategy.php.

33 : bool
34 {
35 return (new ilShibbolethSettings())->isActive();
36 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...

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