Set up an OTP email for a user.
Definition at line 10 of file Email.php.
◆ __construct()
__construct |
( |
array | $settings | ) |
|
Initialize the Email OTP setup
- Parameters
-
$settings | array The settings array |
Definition at line 18 of file Email.php.
◆ add()
Add the OTP Email method. The email has to be verified to add the second factor.
- Returns
- void
- Exceptions
-
Exception | Returns an exception with an error code and a message if the communication with Zitadel fails |
Definition at line 34 of file Email.php.
◆ remove()
Remove the OTP Email method from the user
- Returns
- void
- Exceptions
-
Exception | Returns an exception with an error code and a message if the communication with Zitadel fails |
Definition at line 42 of file Email.php.
◆ setUserId()
Set the userid
- Parameters
-
- Returns
- void
Definition at line 26 of file Email.php.
The documentation for this class was generated from the following file: