diff --git a/source/defs/Hookmanager/Hookmanager.php b/source/defs/Hookmanager/Hookmanager.php index 0cd14f1..cafb044 100644 --- a/source/defs/Hookmanager/Hookmanager.php +++ b/source/defs/Hookmanager/Hookmanager.php @@ -58,6 +58,19 @@ class Hookmanager } + private function keyValidate($keyFromURI) + { + // FIXME: Theoretically, this method does not work. + // TODO: Devise a new way to validate keys without user ID + if($this->APITools->keysMatch($keyFromURI)) + { + return true; + } + else + { + return false; + } + } /** *