$v) { $k = explode('-', $k, 2); if (count($k) === 2 && $k[0] === 'src') { $source = base64_decode($k[1]); } } } if ($source !== NULL) { if ($as !== NULL) { $as->setPreviousSource($source); } sspmod_multiauth_Auth_Source_MultiAuth::delegateAuthentication($source, $state); } if (array_key_exists('multiauth:preselect', $state)) { $source = $state['multiauth:preselect']; sspmod_multiauth_Auth_Source_MultiAuth::delegateAuthentication($source, $state); } $globalConfig = SimpleSAML_Configuration::getInstance(); $t = new SimpleSAML_XHTML_Template($globalConfig, 'multiauth:selectsource.php'); $t->data['authstate'] = $authStateId; $t->data['sources'] = $state[sspmod_multiauth_Auth_Source_MultiAuth::SOURCESID]; if ($as !== NULL) { $t->data['preferred'] = $as->getPreviousSource(); } else { $t->data['preferred'] = NULL; } $t->show(); exit(); ?>