ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
NullTokenHandler.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
25
27{
28 public function generateToken(
29 int $offset,
30 ?\DateTimeImmutable $from_date,
31 ?\DateTimeImmutable $until_date
32 ): string {
33 return '';
34 }
35
36 public function isTokenValid(string $token): bool
37 {
38 return false;
39 }
40
42 RequestInterface $request,
43 string $token
45 return new NullRequest();
46 }
47
48 public function getOffsetFromToken(string $token): int
49 {
50 return 0;
51 }
52}
generateToken(int $offset, ?\DateTimeImmutable $from_date, ?\DateTimeImmutable $until_date)
appendArgumentsFromTokenToRequest(RequestInterface $request, string $token)
return['delivery_method'=> 'php',]
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
$token
Definition: xapitoken.php:70