* @since 3.0.0 */ class LoginFailureEvent extends Event { /** * @var string|null The authentication error key, if the reason is known. * @see User */ public ?string $authError = null; /** * @var string The error message that will be presented to the user. */ public string $message; /** * @var User|null The user that the login was attempted for, if there was a username/email match */ public ?User $user = null; }