ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
ILIAS\User\Profile\ProfileChangeMailTokenRepository Interface Reference
+ Inheritance diagram for ILIAS\User\Profile\ProfileChangeMailTokenRepository:
+ Collaboration diagram for ILIAS\User\Profile\ProfileChangeMailTokenRepository:

Public Member Functions

 getNewTokenForUser (\ilObjUser $user, string $new_email)
 
 getNewEmailForUser (\ilObjUser $user, string $token)
 This Function will check if the token is actually valid for the given user before returning the new email. More...
 
 deleteEntryByToken (string $token)
 

Detailed Description

Definition at line 21 of file ProfileChangeMailTokenRepository.php.

Member Function Documentation

◆ deleteEntryByToken()

ILIAS\User\Profile\ProfileChangeMailTokenRepository::deleteEntryByToken ( string  $token)

◆ getNewEmailForUser()

ILIAS\User\Profile\ProfileChangeMailTokenRepository::getNewEmailForUser ( \ilObjUser  $user,
string  $token 
)

This Function will check if the token is actually valid for the given user before returning the new email.

Returns
string The new email a user wishes to be used or an empty string if validation failed or there is no usable entry.

Implemented in ILIAS\User\Profile\ProfileChangeMailTokenDBRepository.

◆ getNewTokenForUser()

ILIAS\User\Profile\ProfileChangeMailTokenRepository::getNewTokenForUser ( \ilObjUser  $user,
string  $new_email 
)

The documentation for this interface was generated from the following file: