Ubiquity 2.5.2
php rapid development framework
|
Ubiquity\controllers\auth\traits$AuthAccountRecoveryTrait This class is part of Ubiquity. More...
Public Member Functions | |
_getBodySelector () | |
_addFrmAjaxBehavior ($id) | |
_getPasswordInputName () | |
info ($force=null) | |
recoveryInit () | |
recoveryInfo () | |
recovery (string $key, string $hashMail) | |
recoverySubmit () | |
Protected Member Functions | |
fMessage (FlashMessage $fMessage, $id=null) | |
_getFiles () | |
getBaseUrl () | |
authLoadView ($viewName, $vars=[]) | |
useAjax () | |
passwordConfLabel () | |
passwordLabel () | |
validateEmail (string $mail) | |
hasAccountRecovery () | |
recoveryInitMessage (FlashMessage $fMessage) | |
To override Displayed when an account recovery operation is initiated. | |
recoveryEmailSendMessage (FlashMessage $fMessage) | |
To override Displayed when email is sent for a recovery account operation. | |
recoveryEmailErrorMessage (FlashMessage $fMessage) | |
To override Displayed when email is not associated with an existing account. | |
resetPasswordSuccessMessage (FlashMessage $fMessage) | |
To override Displayed when a new password is set with recovery account. | |
resetPasswordErrorMessage (FlashMessage $fMessage) | |
To override Displayed when an error occurs when a new password is set with recovery account. | |
emailAccountRecoverySuccess (FlashMessage $fMessage) | |
To override Displayed when the account recovery link is valid. | |
emailAccountRecoveryError (FlashMessage $fMessage) | |
To override Displayed when the account recovery link is not valid. | |
recoveryAccountCaption () | |
Returns the recovery account link caption. | |
accountRecoveryDuration () | |
Returns the default validity duration for an email account recovery. | |
getAuthTokensAccountRecovery () | |
To override Returns the AuthTokens instance used for tokens generation for a recovery account. | |
isValidEmailForRecovery (string $email) | |
To override Checks if a valid account matches this email. | |
_sendEmailAccountRecovery (string $email, string $validationURL, string $expire) | |
Sends an email for account recovery (password reset). | |
passwordResetAction (string $email, string $newPasswordHash) | |
To override Changes the active password associated with the account corresponding to this email. | |
getAccountRecoveryLink () | |
generateEmailAccountRecoveryUrl ($email) | |
prepareEmailAccountRecovery (string $email) | |
Static Protected Attributes | |
static string | $TOKENS_RECOVERY_ACCOUNT ='account.recovery' |
Ubiquity\controllers\auth\traits$AuthAccountRecoveryTrait This class is part of Ubiquity.
Definition at line 20 of file AuthAccountRecoveryTrait.php.
|
abstract |
Reimplemented in AuthController.
|
abstract |
Reimplemented in AuthControllerConfig.
|
abstractprotected |
|
abstract |
Reimplemented in AuthControllerConfig.
|
protected |
Sends an email for account recovery (password reset).
string | ||
string | $validationURL | |
string | $expire |
Definition at line 161 of file AuthAccountRecoveryTrait.php.
|
protected |
Returns the default validity duration for an email account recovery.
Definition at line 131 of file AuthAccountRecoveryTrait.php.
|
abstractprotected |
|
protected |
To override Displayed when the account recovery link is not valid.
FlashMessage | $fMessage |
Definition at line 114 of file AuthAccountRecoveryTrait.php.
|
protected |
To override Displayed when the account recovery link is valid.
FlashMessage | $fMessage |
Definition at line 105 of file AuthAccountRecoveryTrait.php.
|
abstractprotected |
|
protected |
Definition at line 243 of file AuthAccountRecoveryTrait.php.
|
protected |
Definition at line 176 of file AuthAccountRecoveryTrait.php.
|
protected |
To override Returns the AuthTokens instance used for tokens generation for a recovery account.
Definition at line 140 of file AuthAccountRecoveryTrait.php.
|
abstractprotected |
|
protected |
Reimplemented in AuthControllerConfig.
Definition at line 51 of file AuthAccountRecoveryTrait.php.
|
abstract |
Reimplemented in AuthController.
|
protected |
To override Checks if a valid account matches this email.
string |
Definition at line 150 of file AuthAccountRecoveryTrait.php.
|
abstractprotected |
Reimplemented in AuthControllerConfig.
|
abstractprotected |
Reimplemented in AuthControllerConfig.
|
protected |
To override Changes the active password associated with the account corresponding to this email.
string | ||
string | $newPasswordHash |
Definition at line 172 of file AuthAccountRecoveryTrait.php.
|
protected |
Definition at line 252 of file AuthAccountRecoveryTrait.php.
recovery | ( | string | $key, |
string | $hashMail | ||
) |
Definition at line 213 of file AuthAccountRecoveryTrait.php.
|
protected |
Returns the recovery account link caption.
Default : Forgot your password?
Reimplemented in AuthControllerConfig.
Definition at line 123 of file AuthAccountRecoveryTrait.php.
|
protected |
To override Displayed when email is not associated with an existing account.
FlashMessage | $fMessage |
Definition at line 78 of file AuthAccountRecoveryTrait.php.
|
protected |
To override Displayed when email is sent for a recovery account operation.
FlashMessage | $fMessage |
Definition at line 69 of file AuthAccountRecoveryTrait.php.
recoveryInfo | ( | ) |
Definition at line 199 of file AuthAccountRecoveryTrait.php.
recoveryInit | ( | ) |
Definition at line 183 of file AuthAccountRecoveryTrait.php.
|
protected |
To override Displayed when an account recovery operation is initiated.
FlashMessage | $fMessage |
Definition at line 60 of file AuthAccountRecoveryTrait.php.
recoverySubmit | ( | ) |
Definition at line 262 of file AuthAccountRecoveryTrait.php.
|
protected |
To override Displayed when an error occurs when a new password is set with recovery account.
FlashMessage | $fMessage |
Definition at line 96 of file AuthAccountRecoveryTrait.php.
|
protected |
To override Displayed when a new password is set with recovery account.
FlashMessage | $fMessage |
Definition at line 87 of file AuthAccountRecoveryTrait.php.
|
abstractprotected |
Reimplemented in AuthControllerConfig.
|
abstractprotected |
|
staticprotected |
Definition at line 22 of file AuthAccountRecoveryTrait.php.