Description
This function retrieves the user's configuration settings for two-factor authentication.
Examples
Note:
Use cPanel's API Shell interface (Home >> Advanced >> API Shell) to directly test cPanel API calls.
Parameters
This function does not accept parameters.
Returns
Return |
Type |
Description |
Possible values |
Example |
is_enabled |
Boolean |
Whether two-factor authentication is enabled for the account. |
|
1 |
issuer |
string |
The name of the issuer of the authentication code. |
A valid string. |
Example cPanel Inc |