ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Go to the source code of this file.
Namespaces | |
SimpleSAMLphp | |
Temporary autoloader to ensure compatibility with old, non-PSR-2 compliant classes. | |
Functions | |
present_attributes ($t, $attributes, $nameParent) | |
Recursive attribute array listing function. More... | |
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') | |
$translator = $t->getTranslator() | |
$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'] |
$t | data ['stateId'] = $id |
$srcName = htmlspecialchars(is_array($srcName) ? $translator->t($srcName) : $srcName) | |
$dstName = htmlspecialchars(is_array($dstName) ? $translator->t($dstName) : $dstName) | |
$t | data ['consent_attributes_header'] |
$t | data ['consent_accept'] |
if(array_key_exists('descr_purpose', $state['Destination'])) $t | data ['srcName'] = $srcName |
$t | data ['dstName'] = $dstName |
if($privacypolicy !==false) $t | data ['sppp'] = $privacypolicy |
$t | data ['attributes_html'] = present_attributes($t, $attributes, '') |
present_attributes | ( | $t, | |
$attributes, | |||
$nameParent | |||
) |
Recursive attribute array listing function.
\SimpleSAML\XHTML\Template | $t | Template object |
array | $attributes | Attributes to be presented |
string | $nameParent | Name of parent element |
Definition at line 216 of file getconsent.php.
References $attributes, $i, $name, $summary, $t, $translator, and SimpleSAML\Utils\Random\generateID().
Referenced by present_eptid().
if (array_key_exists( 'yes', $_REQUEST)) $attributes = $state['Attributes'] |
Definition at line 85 of file getconsent.php.
Referenced by sspmod_exampleauth_Auth_Source_UserPass\__construct(), sspmod_authcrypt_Auth_Source_Hash\__construct(), SAML2\AttributeQuery\__construct(), soapval\__construct(), phpseclib\File\X509\_extensions(), ilExternalFeed\_getRSSLocation(), phpseclib\Net\SFTP\_list(), phpseclib\File\X509\_mapInAttributes(), phpseclib\File\X509\_mapOutAttributes(), SimpleSAML_Metadata_SAMLBuilder\addAttributeConsumingService(), ilNestedSetXML\addDomNode(), HTMLPurifier_HTMLDefinition\addElement(), ilMediaAliasItem\addMapArea(), pdoDB\addTableColumn(), ilUserDefinedFields\addToXML(), ilPCInteractiveImage\addTriggerArea(), ilPCInteractiveImage\addTriggerMarker(), sspmod_authX509_Auth_Source_X509userCert\authenticate(), sspmod_exampleauth_Auth_Source_External\authenticate(), sspmod_core_Auth_UserPassBase\authenticate(), sspmod_saml_IdP_SAML2\buildAssertion(), sspmod_cas_Auth_Source_CAS\casServiceValidate(), sspmod_statistics_AccessCheck\checkAccess(), HTMLPurifier_Injector\checkNeeded(), ilECSMappingSettingsGUI\cInitMappingForm(), ilECSMappingSettingsGUI\cUpdateSettings(), SAML2\Assertion\decryptAttributes(), PhpOffice\PhpSpreadsheet\Reader\Gnumeric\Properties\docPropertiesMeta(), ilBPMN2ParserUtils\extractDataNamingFromElement(), ilTestResultsImportParser\fetchAttribute(), GeSHi\finalise(), sspmod_authwindowslive_Auth_Source_LiveID\finalStep(), sspmod_authtwitter_Auth_Source_Twitter\finalStep(), sspmod_authfacebook_Auth_Source_Facebook\finalStep(), sspmod_cas_Auth_Source_CAS\finalStep(), ilBiblLibraryPresentationGUI\formatAttribute(), ilUtil\formSelect(), SimpleSAML\XML\Shib13\AuthnResponse\generate(), ilBiblLibraryPresentationGUI\generateLibraryLink(), sspmod_saml_IdP_SAML2\generateNameIdValue(), sspmod_adfs_IdP_ADFS\generateResponse(), ilLDAPRoleAssignmentRules\getAdditionalPluginAttributes(), PhpOffice\PhpSpreadsheet\Reader\Xlsx\Chart\getAttribute(), phpseclib\File\X509\getAttribute(), sspmod_consent_Auth_Process_Consent\getAttributeHash(), SAML2\AttributeQuery\getAttributes(), SimpleSAML_Auth_LDAP\getAttributes(), SAML2\Assertion\getAttributes(), phpseclib\File\X509\getAttributes(), ilBiblAttributeFactory\getAttributesForEntry(), ilLDAPResult\getEntries(), SimpleSAML\Utils\Attributes\getExpectedAttribute(), PhpOffice\PhpSpreadsheet\Reader\Xlsx\getFromZipArchive(), sspmod_ldap_Auth_Process_AttributeAddUsersGroups\getGroups(), sspmod_ldap_Auth_Process_AttributeAddUsersGroups\getGroupsActiveDirectory(), sspmod_ldap_Auth_Process_AttributeAddUsersGroups\getGroupsOpenLdap(), SimpleSAML\XML\Shib13\AuthnResponse\getSessionIndex(), sspmod_exampleauth_Auth_Source_External\getUser(), sspmod_authYubiKey_Auth_Source_YubiKey\handleLogin(), sspmod_core_Auth_UserPassOrgBase\handleLogin(), sspmod_core_Auth_UserPassBase\handleLogin(), GeSHi\header(), arFieldList\initFields(), ilECSMappingSettingsGUI\initFormCSettings(), kses(), ilLMPresentationGUI\layout(), sspmod_radius_Auth_Source_Radius\login(), sspmod_authYubiKey_Auth_Source_YubiKey\login(), ilECSCourseMappingRule\lookupLastExistingAttribute(), SimpleSAML\Utils\Attributes\normalizeAttributesArray(), sspmod_core_ACL\opAnd(), sspmod_core_ACL\opEquals(), sspmod_core_ACL\opEqualsPreg(), sspmod_core_ACL\opHas(), sspmod_core_ACL\opHasPreg(), sspmod_core_ACL\opOr(), GeSHi\parse_code(), GeSHi\parse_non_string_part(), Sabre\Xml\Reader\parseAttributes(), SimpleSAML_Utilities\parseAttributes(), SAML2\Assertion\parseAttributes(), Sabre\Xml\Reader\parseCurrentElement(), HTMLPurifier_HTMLDefinition\parseTinyMCEAllowedList(), ilTestExportRandomQuestionSet\populateSelectionDefinitions(), present_attributes(), present_eptid(), sspmod_ldap_Auth_Process_AttributeAddUsersGroups\process(), sspmod_core_Auth_Process_AttributeRealm\process(), sspmod_core_Auth_Process_LanguageAdaptor\process(), sspmod_core_Auth_Process_PHP\process(), sspmod_core_Auth_Process_ScopeFromAttribute\process(), sspmod_authYubiKey_Auth_Process_OTP2YubiPrefix\process(), sspmod_core_Auth_Process_GenerateGroups\process(), sspmod_core_Auth_Process_AttributeCopy\process(), sspmod_core_Auth_Process_ScopeAttribute\process(), sspmod_authorize_Auth_Process_Authorize\process(), sspmod_core_Auth_Process_AttributeLimit\process(), sspmod_core_Auth_Process_AttributeAlter\process(), SimpleSAML\Module\core\Auth\Process\AttributeValueMap\process(), sspmod_ldap_Auth_Process_AttributeAddFromLDAP\process(), sspmod_consent_Auth_Process_Consent\process(), sspmod_saml_Message\processAssertion(), PhpOffice\PhpSpreadsheet\Reader\Gnumeric\processAutofilter(), ilLMPresentationGUI\processNodes(), phpseclib\File\X509\removeAttribute(), ilBiblEntryTablePresentationGUI\render(), ilBiblEntryDetailPresentationGUI\renderAttributes(), ilMMTopItemGUI\restore(), sspmod_exampleauth_Auth_Source_External\resume(), arConverter\returnAttributesForField(), sspmod_ldap_Auth_Process_AttributeAddUsersGroups\search(), SimpleSAML_Auth_LDAP\searchformultiple(), sspmod_saml_IdP_SAML1\sendResponse(), sspmod_adfs_IdP_ADFS\sendResponse(), nusoap_base\serialize_val(), ilMediaAliasItem\setAreaExtLink(), ilMediaAliasItem\setAreaIntLink(), phpseclib\File\X509\setAttribute(), SAML2\AttributeQuery\setAttributes(), CAS_Client\setAttributes(), SAML2\Assertion\setAttributes(), ilPCSection\setExtLink(), ilPCSection\setIntLink(), ilMediaAliasItem\setParameters(), SimpleSAML_Error_Error\show(), ilOrgUnitExporter\simpleExport(), ilOrgUnitSimpleImport\simpleImportElement(), ilOrgUnitSimpleUserImport\simpleUserImportElement(), soapval\soapval(), Sabre\Xml\Serializer\standardSerializer(), Monolog\Handler\AmqpHandlerTest\testHandleAmqpExt(), enshrined\svgSanitize\Tests\SanitizerTest\testLoadDefaultAttributes(), enshrined\svgSanitize\Tests\SanitizerTest\testSetCustomAttributes(), SimpleSAML_Auth_LDAP\validate(), and ilRoleXmlExport\writeRole().
$dstName = htmlspecialchars(is_array($dstName) ? $translator->t($dstName) : $dstName) |
Definition at line 131 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.
$srcName = htmlspecialchars(is_array($srcName) ? $translator->t($srcName) : $srcName) |
Definition at line 130 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 118 of file getconsent.php.
Referenced by present_attributes().
$translator = $t->getTranslator() |
Definition at line 119 of file getconsent.php.
Referenced by ilTestRandomQuestionSetBuilderWithAmountPerPool\checkBuildable(), sspmod_portal_Portal\getLoginInfo(), Gettext\BaseTranslator\initGettextFunctions(), ilLOUtils\lookupQplBySequence(), present_attributes(), and Twig_Tests_Extension_DateTest\testDiffCanReturnTranslatableString().
$t data[ 'srcMetadata'] = $state['Source'] |
Definition at line 120 of file getconsent.php.
$t data[ 'dstMetadata'] = $state['Destination'] |
Definition at line 121 of file getconsent.php.
$t data[ 'yesTarget'] = SimpleSAML\Module::getModuleURL('consent/getconsent.php') |
Definition at line 122 of file getconsent.php.
$t data[ 'yesData'] = array('StateId' => $id) |
Definition at line 123 of file getconsent.php.
$t data[ 'noTarget'] = SimpleSAML\Module::getModuleURL('consent/noconsent.php') |
Definition at line 124 of file getconsent.php.
$t data[ 'noData'] = array('StateId' => $id) |
Definition at line 125 of file getconsent.php.
$t data[ 'attributes'] = $attributes |
Definition at line 126 of file getconsent.php.
$t data[ 'checked'] = $state['consent:checked'] |
Definition at line 127 of file getconsent.php.
$t data[ 'stateId'] = $id |
Definition at line 128 of file getconsent.php.
$t data[ 'consent_attributes_header'] |
Definition at line 133 of file getconsent.php.
$t data[ 'consent_accept'] |
Definition at line 138 of file getconsent.php.
if (array_key_exists( 'descr_purpose', $state[ 'Destination'])) $t data[ 'srcName'] = $srcName |
Definition at line 158 of file getconsent.php.
$t data[ 'dstName'] = $dstName |
Definition at line 159 of file getconsent.php.
if ( $privacypolicy !==false) $t data[ 'sppp'] = $privacypolicy |
Definition at line 176 of file getconsent.php.
$t data[ 'attributes_html'] = present_attributes($t, $attributes, '') |
Definition at line 203 of file getconsent.php.
if (array_key_exists( 'consent:hiddenAttributes', $state)) else |
Definition at line 39 of file getconsent.php.