Skip to content
Snippets Groups Projects
Commit dfbf6fb3 authored by Andreas Åkre Solberg's avatar Andreas Åkre Solberg
Browse files

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
parent 8b4373b6
No related branches found
No related tags found
No related merge requests found
...@@ -88,7 +88,7 @@ class SimpleSAML_Consent_Consent { ...@@ -88,7 +88,7 @@ class SimpleSAML_Consent_Consent {
/** /**
* Get a targeted ID. An identifier that is unique per SP entity ID. * 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); return hash('sha1', $hashed_userid . $this->salt . $this->spentityid);
...@@ -97,7 +97,7 @@ class SimpleSAML_Consent_Consent { ...@@ -97,7 +97,7 @@ class SimpleSAML_Consent_Consent {
/** /**
* Get a hash value that changes when attributes are added or attribute values changed. * 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)); return hash('sha1', serialize($this->filteredattributes));
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment