ILIAS  trunk Revision v11.0_alpha-1769-g99a433fe2dc
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ILIAS\User\Profile\ChangeMailTokenRepository Interface Reference
+ Inheritance diagram for ILIAS\User\Profile\ChangeMailTokenRepository:
+ Collaboration diagram for ILIAS\User\Profile\ChangeMailTokenRepository:

Public Member Functions

 getNewTokenForUser (\ilObjUser $user, string $new_email, int $now)
 
 hasUserValidEmailConfirmationToken (\ilObjUser $user)
 
 getTokenForTokenString (string $token_string, \ilObjUser $user)
 This Function will check if the token is actually valid for the given user before returning the new email. More...
 
 moveToNextStep (ChangeMailToken $token, int $now)
 
 deleteEntryByToken (string $token)
 
 deleteExpiredEntries ()
 

Detailed Description

Definition at line 21 of file ChangeMailTokenRepository.php.

Member Function Documentation

◆ deleteEntryByToken()

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

◆ deleteExpiredEntries()

ILIAS\User\Profile\ChangeMailTokenRepository::deleteExpiredEntries ( )

◆ getNewTokenForUser()

ILIAS\User\Profile\ChangeMailTokenRepository::getNewTokenForUser ( \ilObjUser  $user,
string  $new_email,
int  $now 
)

◆ getTokenForTokenString()

ILIAS\User\Profile\ChangeMailTokenRepository::getTokenForTokenString ( string  $token_string,
\ilObjUser  $user 
)

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\ChangeMailTokenDBRepository.

◆ hasUserValidEmailConfirmationToken()

ILIAS\User\Profile\ChangeMailTokenRepository::hasUserValidEmailConfirmationToken ( \ilObjUser  $user)

◆ moveToNextStep()

ILIAS\User\Profile\ChangeMailTokenRepository::moveToNextStep ( ChangeMailToken  $token,
int  $now 
)

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