ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
interface.ilCtrlTokenInterface.php
Go to the documentation of this file.
1 <?php
2 
3 /* Copyright (c) 2021 Thibeau Fuhrer <thf@studer-raimann.ch> Extended GPL, see docs/LICENSE */
4 
11 {
18  public function verifyWith(string $token): bool;
19 
25  public function getToken(): string;
26 }
$token
Definition: xapitoken.php:70
verifyWith(string $token)
Compares the given token to the stored one of the given user.
Interface ilCtrlTokenInterface describes an ilCtrl token.
getToken()
Returns the token string of this instance.