ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Go to the source code of this file.
Namespaces | |
SimpleSAMLphp | |
Temporary autoloader to ensure compatibility with old, non-PSR-2 compliant classes. | |
Variables | |
$globalConfig = SimpleSAML_Configuration::getInstance() | |
if(!array_key_exists('StateId', $_REQUEST)) | $id = $_REQUEST['StateId'] |
$state = SimpleSAML_Auth_State::loadState($id, 'consent:request') | |
if(array_key_exists('core:SP', $state)) else if(array_key_exists('saml:sp:State', $state)) | else |
if(array_key_exists('yes', $_REQUEST)) | $attributes = $state['Attributes'] |
$noconsentattributes = $state['consent:noconsentattributes'] | |
foreach($attributes AS $attrkey=> $attrval) | $para |
$t = new SimpleSAML_XHTML_Template($globalConfig, 'consent:consentform.php') | |
$t | data ['srcMetadata'] = $state['Source'] |
$t | data ['dstMetadata'] = $state['Destination'] |
$t | data ['yesTarget'] = SimpleSAML\Module::getModuleURL('consent/getconsent.php') |
$t | data ['yesData'] = array('StateId' => $id) |
$t | data ['noTarget'] = SimpleSAML\Module::getModuleURL('consent/noconsent.php') |
$t | data ['noData'] = array('StateId' => $id) |
$t | data ['attributes'] = $attributes |
$t | data ['checked'] = $state['consent:checked'] |
if($privacypolicy !==false) $t | data ['sppp'] = $privacypolicy |
if (array_key_exists( 'yes', $_REQUEST)) $attributes = $state['Attributes'] |
Definition at line 85 of file getconsent.php.
$globalConfig = SimpleSAML_Configuration::getInstance() |
Definition at line 22 of file getconsent.php.
if (!array_key_exists( 'StateId', $_REQUEST)) $id = $_REQUEST['StateId'] |
Definition at line 32 of file getconsent.php.
$noconsentattributes = $state['consent:noconsentattributes'] |
Definition at line 86 of file getconsent.php.
foreach ( $attributes AS $attrkey=> $attrval) $para |
Definition at line 94 of file getconsent.php.
$state = SimpleSAML_Auth_State::loadState($id, 'consent:request') |
Definition at line 33 of file getconsent.php.
$t = new SimpleSAML_XHTML_Template($globalConfig, 'consent:consentform.php') |
Definition at line 102 of file getconsent.php.
$t data[ 'srcMetadata'] = $state['Source'] |
Definition at line 103 of file getconsent.php.
$t data[ 'dstMetadata'] = $state['Destination'] |
Definition at line 104 of file getconsent.php.
$t data[ 'yesTarget'] = SimpleSAML\Module::getModuleURL('consent/getconsent.php') |
Definition at line 105 of file getconsent.php.
$t data[ 'yesData'] = array('StateId' => $id) |
Definition at line 106 of file getconsent.php.
$t data[ 'noTarget'] = SimpleSAML\Module::getModuleURL('consent/noconsent.php') |
Definition at line 107 of file getconsent.php.
$t data[ 'noData'] = array('StateId' => $id) |
Definition at line 108 of file getconsent.php.
$t data[ 'attributes'] = $attributes |
Definition at line 109 of file getconsent.php.
$t data[ 'checked'] = $state['consent:checked'] |
Definition at line 110 of file getconsent.php.
if ( $privacypolicy !==false) $t data[ 'sppp'] = $privacypolicy |
Definition at line 127 of file getconsent.php.
if (array_key_exists( 'consent:hiddenAttributes', $state)) else |
Definition at line 39 of file getconsent.php.