37    $authProcState = array(
 
   39        'Destination' => $sp_metadata,
 
   48    $pc->processStatePassive($authProcState);
 
   65    return array($targeted_id, $attribute_hash, 
$attributes);
 
   76if (array_key_exists(
'logout', $_REQUEST)) {
 
   77    $returnURL = 
$cA_config->getValue(
'returnURL');
 
   78    $as->logout($returnURL);
 
  100if (
$as->getAuthData(
'saml:sp:IdP') !== 
null) {
 
  102    $idp_entityid = 
$as->getAuthData(
'saml:sp:IdP');
 
  116    throw new Exception(
'Could not generate useridentifier for storing consent. Attribute ['.
 
  128if (!empty(
$_GET[
'cv'])) {
 
  131if (!empty(
$_GET[
'action'])) {
 
  224        $sp_status = 
"changed";
 
  238    if (isset($sp_values[
'name']) && is_array($sp_values[
'name'])) {
 
  239        $sp_name = $sp_metadata[
'name'];
 
  241        if (isset($sp_values[
'name']) && is_string($sp_values[
'name'])) {
 
  242            $sp_name = $sp_metadata[
'name'];
 
  243        } elseif (isset($sp_values[
'OrganizationDisplayName']) && is_array($sp_values[
'OrganizationDisplayName'])) {
 
  244            $sp_name = $sp_metadata[
'OrganizationDisplayName'];
 
  251    if (empty($sp_metadata[
'description']) || !is_array($sp_metadata[
'description'])) {
 
  254        $sp_description = $sp_metadata[
'description'];
 
  258    $sp_service_url = isset($sp_metadata[
'ServiceURL']) ? $sp_metadata[
'ServiceURL'] : 
null;
 
  264        'description'      => $sp_description,
 
  265        'consentStatus'    => $sp_status,
 
  267        'attributes_by_sp' => $attributes_new,
 
  268        'serviceurl'       => $sp_service_url,
 
An exception for terminatinating execution or to throw for unit testing.
static getInstance($instancename='simplesaml')
Get a configuration file by its instance name.
static getConfig($filename='config.php', $configSet='simplesaml')
Load a configuration file from a configuration set.
static getHashedUserID($userid, $source)
Generate a unique identifier of the user.
static getTargetedID($userid, $source, $destination)
Generate a unique targeted identifier.
static getAttributeHash($attributes, $includeValues=false)
Generate unique identifier for attributes.
static parseStoreConfig($config)
Parse consent storage configuration.
driveProcessingChain( $idp_metadata, $source, $sp_metadata, $sp_entityid, $attributes, $userid, $hashAttributes=false)
foreach($user_consent_list as $c) $template_sp_content
if(empty($userids)) $userid
if(array_key_exists('logout', $_REQUEST)) $hashAttributes
if($action !==null && $sp_entityid !==null) $user_consent_list
foreach($_POST as $key=> $value) $res