◆ __construct()
◆ buildTokenURL()
| ILIAS\FileDelivery\Services::buildTokenURL |
( |
FileStream |
$stream, |
|
|
string |
$filename, |
|
|
Disposition |
$disposition, |
|
|
int |
$user_id, |
|
|
int |
$valid_for_at_least_hours |
|
) |
| |
Definition at line 53 of file Services.php.
References $token.
61 $valid_for_at_least_hours++;
62 $until = new \DateTimeImmutable(
63 (
new \
DateTimeImmutable(
"now +$valid_for_at_least_hours hours"))->format(
'Y-m-d H:00')
66 $token = $this->data_signer->getSignedStreamToken(
74 rtrim(ILIAS_HTTP_PATH,
'/') . self::DELIVERY_ENDPOINT .
$token
◆ delivery()
| ILIAS\FileDelivery\Services::delivery |
( |
| ) |
|
Definition at line 43 of file Services.php.
45 return $this->delivery;
◆ legacyDelivery()
| ILIAS\FileDelivery\Services::legacyDelivery |
( |
| ) |
|
Definition at line 48 of file Services.php.
50 return $this->legacy_delivery;
◆ DELIVERY_ENDPOINT
| const ILIAS\FileDelivery\Services::DELIVERY_ENDPOINT = '/src/FileDelivery/deliver.php/' |
The documentation for this class was generated from the following file: