|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
Inheritance diagram for ILIAS\User\Profile\ProfileChangeMailTokenDBRepository:
Collaboration diagram for ILIAS\User\Profile\ProfileChangeMailTokenDBRepository:Public Member Functions | |
| __construct (private \ilDBInterface $db) | |
| getNewTokenForUser (\ilObjUser $user, string $new_email) | |
| getNewEmailForUser (\ilObjUser $user, string $received_token) | |
| This Function will check if the token is actually valid for the given user before returning the new email. More... | |
| deleteEntryByToken (string $token) | |
Private Member Functions | |
| deleteExpiredEntries () | |
Private Attributes | |
| const | TABLE_NAME = 'usr_change_email_token' |
| const | VALIDITY = 300 |
Definition at line 23 of file ProfileChangeMailTokenDBRepository.php.
| ILIAS\User\Profile\ProfileChangeMailTokenDBRepository::__construct | ( | private \ilDBInterface | $db | ) |
Definition at line 28 of file ProfileChangeMailTokenDBRepository.php.
References ILIAS\User\Profile\ProfileChangeMailTokenDBRepository\deleteExpiredEntries().
Here is the call graph for this function:| ILIAS\User\Profile\ProfileChangeMailTokenDBRepository::deleteEntryByToken | ( | string | $token | ) |
Implements ILIAS\User\Profile\ProfileChangeMailTokenRepository.
Definition at line 76 of file ProfileChangeMailTokenDBRepository.php.
References ilDBConstants\T_TEXT.
|
private |
Definition at line 82 of file ProfileChangeMailTokenDBRepository.php.
References ilDBConstants\T_INTEGER.
Referenced by ILIAS\User\Profile\ProfileChangeMailTokenDBRepository\__construct().
Here is the caller graph for this function:| ILIAS\User\Profile\ProfileChangeMailTokenDBRepository::getNewEmailForUser | ( | \ilObjUser | $user, |
| string | $token | ||
| ) |
This Function will check if the token is actually valid for the given user before returning the new email.
Implements ILIAS\User\Profile\ProfileChangeMailTokenRepository.
Definition at line 55 of file ProfileChangeMailTokenDBRepository.php.
References ilObjUser\getEmail(), ilObject\getId(), ilDBConstants\T_INTEGER, and ilDBConstants\T_TEXT.
Here is the call graph for this function:| ILIAS\User\Profile\ProfileChangeMailTokenDBRepository::getNewTokenForUser | ( | \ilObjUser | $user, |
| string | $new_email | ||
| ) |
Implements ILIAS\User\Profile\ProfileChangeMailTokenRepository.
Definition at line 34 of file ProfileChangeMailTokenDBRepository.php.
References $token, ilObjUser\getEmail(), ilObject\getId(), ilDBConstants\T_INTEGER, and ilDBConstants\T_TEXT.
Here is the call graph for this function:
|
private |
Definition at line 25 of file ProfileChangeMailTokenDBRepository.php.
|
private |
Definition at line 26 of file ProfileChangeMailTokenDBRepository.php.