Neuron-PHP

PasswordResetRequestedEvent
in package
implements IEvent

Event fired when a user requests a password reset.

This event is triggered when a password reset token is generated and the reset email is about to be sent.

Use cases:

  • Security monitoring for reset request patterns
  • Track potential account takeover attempts
  • Send security alerts for unexpected reset requests
  • Log password reset activity for compliance
  • Implement rate limiting on reset requests
  • Detect and prevent password reset abuse

Table of Contents

Interfaces

IEvent
Core event interface for the Neuron event system.

Properties

$ip  : string
$user  : User

Methods

__construct()  : mixed
getName()  : string

Properties

Methods

__construct()

public __construct(User $user, string $ip) : mixed
Parameters
$user : User

User who requested password reset

$ip : string

IP address of the request


        
On this page

Search results