mirror of
https://github.com/friendica/friendica
synced 2025-04-20 18:30:10 +00:00
Use HTTP-Signature to authenticate when fetching photos.
This commit is contained in:
parent
d32105aa8b
commit
a876c20850
3 changed files with 82 additions and 47 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue