ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
Repository.php
Go to the documentation of this file.
1<?php
2
20
21interface Repository
22{
23 public function getNewTokenForUser(\ilObjUser $user, string $new_email, int $now): Token;
24 public function hasUserValidEmailConfirmationToken(\ilObjUser $user): bool;
25
33 public function getTokenForTokenString(string $token_string, \ilObjUser $user): ?Token;
34 public function moveToNextStep(Token $token, int $now): Token;
35 public function deleteEntryByToken(string $token): void;
36 public function deleteExpiredEntries(): void;
37}
User class.
getTokenForTokenString(string $token_string, \ilObjUser $user)
This Function will check if the token is actually valid for the given user before returning the new e...
moveToNextStep(Token $token, int $now)
hasUserValidEmailConfirmationToken(\ilObjUser $user)
getNewTokenForUser(\ilObjUser $user, string $new_email, int $now)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
$token
Definition: xapitoken.php:70