ILIAS  trunk Revision v11.0_alpha-2645-g16283d3b3f8
ChangeMailTokenRepository.php
Go to the documentation of this file.
1 <?php
2 
19 namespace ILIAS\User\Profile;
20 
22 {
23  public function getNewTokenForUser(\ilObjUser $user, string $new_email, int $now): ChangeMailToken;
24  public function hasUserValidEmailConfirmationToken(\ilObjUser $user): bool;
25 
33  public function getTokenForTokenString(string $token_string, \ilObjUser $user): ?ChangeMailToken;
34  public function moveToNextStep(ChangeMailToken $token, int $now): ChangeMailToken;
35  public function deleteEntryByToken(string $token): void;
36  public function deleteExpiredEntries(): void;
37 }
$token
Definition: xapitoken.php:70
moveToNextStep(ChangeMailToken $token, int $now)
getNewTokenForUser(\ilObjUser $user, string $new_email, int $now)
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...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...