public function ShibSessionVars::__construct in Shibboleth Authentication 8
ShibSessionVars constructor.
Parameters
\Drupal\Core\Config\ImmutableConfig $config:
File
- src/
Login/ ShibSessionVars.php, line 45
Class
Namespace
Drupal\shib_auth\LoginCode
public function __construct($config) {
$this->session_id = self::fixModRewriteIssues('Shib-Session-ID');
$this->targeted_id = self::fixModRewriteIssues($config
->get('server_variable_username'));
$this->email = self::fixModRewriteIssues($config
->get('server_variable_email'));
$this->idp = self::fixModRewriteIssues('Shib-Identity-Provider');
$this->entitlement = self::fixModRewriteIssues('entitlement');
$this->affiliation = self::fixModRewriteIssues('affiliation');
}