PasswordUpdatedEvent

class OCP\User\Events\PasswordUpdatedEvent
Emitted when the user password has been updated.
Source:lib/public/User/Events/PasswordUpdatedEvent.php#38
Parent:OCP\EventDispatcher\Event

Properties

Methods

public OCP\User\Events\PasswordUpdatedEvent::__construct($user, $password, $recoveryPassword=null)
Source:

lib/public/User/Events/PasswordUpdatedEvent.php#55

Parameters:
  • $user (OCP\IUser)
  • $password (string)
  • $recoveryPassword (string | null)
Since:

18.0.0

public OCP\User\Events\PasswordUpdatedEvent::getUser()
Source:lib/public/User/Events/PasswordUpdatedEvent.php#68
Returns:\OCP\IUser
Since:18.0.0
public OCP\User\Events\PasswordUpdatedEvent::getPassword()
Source:lib/public/User/Events/PasswordUpdatedEvent.php#76
Returns:string
Since:18.0.0
public OCP\User\Events\PasswordUpdatedEvent::getRecoveryPassword()
Source:lib/public/User/Events/PasswordUpdatedEvent.php#84
Returns:string | null
Since:18.0.0