diff --git a/lib/SimpleSAML/Consent/Consent.php b/lib/SimpleSAML/Consent/Consent.php index d1d1629d59e47ff9291d87d80c17df78c942907e..682518060593a0b21fd99feb5ac919293a8a64f2 100644 --- a/lib/SimpleSAML/Consent/Consent.php +++ b/lib/SimpleSAML/Consent/Consent.php @@ -88,7 +88,7 @@ class SimpleSAML_Consent_Consent { /** * Get a targeted ID. An identifier that is unique per SP entity ID. */ - private function getTargetedID($hashed_userid) { + public function getTargetedID($hashed_userid) { return hash('sha1', $hashed_userid . $this->salt . $this->spentityid); @@ -97,7 +97,7 @@ class SimpleSAML_Consent_Consent { /** * Get a hash value that changes when attributes are added or attribute values changed. */ - private function getAttributeHash() { + public function getAttributeHash() { return hash('sha1', serialize($this->filteredattributes)); }