Zitadel PHP Client 1.3.6
PHP Client for Zitadel
|
Public Member Functions | |
__construct (array $settings) | |
setUserId (int $userid) | |
deactivate () | |
reactivate () | |
lock () | |
unlock () | |
Class for the general management of the user account e.g. Deactivating the account
Definition at line 10 of file Account.php.
__construct | ( | array | $settings | ) |
Initialize the user account class
$settings | array The settings array |
Definition at line 18 of file Account.php.
deactivate | ( | ) |
Deactivate a user. He won't be able to log in. Use deactivate user when the user should not be able to use the account anymore, but you still need access to the user data. You'll get an error, if the user is already deactivated
Exception | Returns an exception with an error code and a message if the communication with Zitadel fails |
Definition at line 35 of file Account.php.
lock | ( | ) |
Lock a user. The user won't be able to log in. You'll get an error, if the user is not locked.
Exception | Returns an exception with an error code and a message if the communication with Zitadel fails |
Definition at line 55 of file Account.php.
reactivate | ( | ) |
Reactivate a user. He will be able to log in again. You'll get an error, if the user is not deactivated.
Exception | Returns an exception with an error code and a message if the communication with Zitadel fails |
Definition at line 45 of file Account.php.
setUserId | ( | int | $userid | ) |
unlock | ( | ) |
Unlock a user. You'll get an error, if the user is not locked.
Exception | Returns an exception with an error code and a message if the communication with Zitadel fails |
Definition at line 64 of file Account.php.