ILIAS
release_8 Revision v8.19
|
Public Member Functions | |
__construct (\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 |
ilDBInterface | $db |
Definition at line 23 of file ProfileChangeMailTokenDBRepository.php.
ILIAS\User\Profile\ProfileChangeMailTokenDBRepository::__construct | ( | \ilDBInterface | $db | ) |
Definition at line 29 of file ProfileChangeMailTokenDBRepository.php.
References ILIAS\User\Profile\ProfileChangeMailTokenDBRepository\$db, and ILIAS\User\Profile\ProfileChangeMailTokenDBRepository\deleteExpiredEntries().
ILIAS\User\Profile\ProfileChangeMailTokenDBRepository::deleteEntryByToken | ( | string | $token | ) |
Implements ILIAS\User\Profile\ProfileChangeMailTokenRepository.
Definition at line 78 of file ProfileChangeMailTokenDBRepository.php.
References $query, and ilDBConstants\T_TEXT.
|
private |
Definition at line 84 of file ProfileChangeMailTokenDBRepository.php.
References $query, and ilDBConstants\T_INTEGER.
Referenced by ILIAS\User\Profile\ProfileChangeMailTokenDBRepository\__construct().
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 57 of file ProfileChangeMailTokenDBRepository.php.
References $query, ilObjUser\getEmail(), ilObject\getId(), ilDBConstants\T_INTEGER, and ilDBConstants\T_TEXT.
ILIAS\User\Profile\ProfileChangeMailTokenDBRepository::getNewTokenForUser | ( | \ilObjUser | $user, |
string | $new_email | ||
) |
Implements ILIAS\User\Profile\ProfileChangeMailTokenRepository.
Definition at line 36 of file ProfileChangeMailTokenDBRepository.php.
References $token, ilObjUser\getEmail(), ilObject\getId(), ilDBConstants\T_INTEGER, and ilDBConstants\T_TEXT.
|
private |
Definition at line 27 of file ProfileChangeMailTokenDBRepository.php.
Referenced by ILIAS\User\Profile\ProfileChangeMailTokenDBRepository\__construct().
|
private |
Definition at line 25 of file ProfileChangeMailTokenDBRepository.php.
|
private |
Definition at line 26 of file ProfileChangeMailTokenDBRepository.php.