From dfbf6fb31d9d7e06f96c9bed35b97daf3af55019 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=85kre=20Solberg?= <andreas.solberg@uninett.no> Date: Wed, 12 Mar 2008 13:21:31 +0000 Subject: [PATCH] added some more public consent module functions for Peter Dam Mains git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@405 44740490-163a-0410-bde0-09ae8108e29a --- lib/SimpleSAML/Consent/Consent.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/SimpleSAML/Consent/Consent.php b/lib/SimpleSAML/Consent/Consent.php index d1d1629d5..682518060 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)); } -- GitLab