BeforePasswordUpdatedEvent¶
-
class
OCP\User\Events\
BeforePasswordUpdatedEvent
¶ - Emitted before the user password is updated.
Source: lib/public/User/Events/BeforePasswordUpdatedEvent.php#38 Parent: OCP\EventDispatcher\Event
Properties¶
Methods¶
-
public
OCP\User\Events\BeforePasswordUpdatedEvent::
__construct
($user, $password, $recoveryPassword=null)¶ Source: Parameters: - $user (
OCP\IUser
) - $password (string)
- $recoveryPassword (string | null)
Since: 18.0.0
- $user (
-
public
OCP\User\Events\BeforePasswordUpdatedEvent::
getUser
()¶ Source: lib/public/User/Events/BeforePasswordUpdatedEvent.php#68 Returns: \OCP\IUser
Since: 18.0.0
-
public
OCP\User\Events\BeforePasswordUpdatedEvent::
getPassword
()¶ Source: lib/public/User/Events/BeforePasswordUpdatedEvent.php#76 Returns: string Since: 18.0.0
-
public
OCP\User\Events\BeforePasswordUpdatedEvent::
getRecoveryPassword
()¶ Source: lib/public/User/Events/BeforePasswordUpdatedEvent.php#84 Returns: string | null Since: 18.0.0