Zitadel PHP Client 1.3.6 PHP Client for Zitadel

Loading...
Searching...
No Matches
Public Member Functions
Password Class Reference

## Public Member Functions
| __construct (array $settings)
| setUserId (int $userid)
| setVerifyCode ($verifyCode)
| setCurrentPassword ($currentPassword)
| setNewPassword ($newPassword, $changeRequired)
| getVerifyCode ()
| change ()
| requestVerifyCode ()

## Detailed Description

Class to manage Passwords

Definition at line 10 of file Password.php.

## Constructor & Destructor Documentation

## ◆ __construct()

__construct | ( | array | $settings | ) |

Initialize the Password class

Parameters

  $settings | array The settings array

Definition at line 20 of file Password.php.

## Member Function Documentation

## ◆ change()

change | ( |  | ) |

Definition at line 51 of file Password.php.

## ◆ getVerifyCode()

getVerifyCode | ( |  | ) |

Definition at line 47 of file Password.php.

## ◆ requestVerifyCode()

requestVerifyCode | ( |  | ) |

Definition at line 79 of file Password.php.

## ◆ setCurrentPassword()

setCurrentPassword | ( |  | $currentPassword | ) |

Definition at line 36 of file Password.php.

## ◆ setNewPassword()

setNewPassword | ( |  | $newPassword,
|  |  | $changeRequired )

Definition at line 40 of file Password.php.

## ◆ setUserId()

setUserId | ( | int | $userid | ) |

Set the userid

Parameters

  $userid | int User id

Returns
  void

Definition at line 28 of file Password.php.

## ◆ setVerifyCode()

setVerifyCode | ( |  | $verifyCode | ) |

Definition at line 32 of file Password.php.

The documentation for this class was generated from the following file:

- src/User/Password.php