Use HTTP-Signature to authenticate when fetching photos.

This commit is contained in:
Michael 2019-03-18 22:33:20 +00:00
parent d32105aa8b
commit a876c20850
3 changed files with 82 additions and 47 deletions

View file

@ -45,6 +45,9 @@ class Photo extends BaseModule
exit;
}
/// @todo Add Authentication to enable fetching of non public content
// $requester = HTTPSignature::getSigner('', $_SERVER);
$customsize = 0;
$photo = false;
switch($a->argc) {