Link Search Menu Expand Document

Constructor: auth.passwordRecovery

Back to constructors index

Recovery info of a 2FA password, only for accounts with a recovery email configured.

Attributes:

NameTypeRequiredDescription
email_patternstringYesThe email to which the recovery code was sent must match this pattern.

Type: auth.PasswordRecovery

Example:

$auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string'];