ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
TokenHandlerInterface.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
24
26{
27 public function generateToken(
28 int $offset,
29 ?\DateTimeImmutable $from_date,
30 ?\DateTimeImmutable $until_date
31 ): string;
32
33 public function isTokenValid(string $token): bool;
34
36 RequestInterface $request,
37 string $token
39
40 public function getOffsetFromToken(string $token): int;
41}
generateToken(int $offset, ?\DateTimeImmutable $from_date, ?\DateTimeImmutable $until_date)
appendArgumentsFromTokenToRequest(RequestInterface $request, string $token)
$token
Definition: xapitoken.php:70