object authentication.get(object parameters)
此方法允许根据给定参数检索身份认证对象。
此方法仅对“超级管理员”用户类型可用。 调用此方法的权限可以在用户角色设置中撤销。 有关更多信息,请参阅用户角色。
(object) 定义所需的输出。
该方法仅支持一个参数。
(object) 返回认证对象。
请求:
响应:
{ "jsonrpc": "2.0", "result": { "authentication_type": "0", "http_auth_enabled": "0", "http_login_form": "0", "http_strip_domains": "", "http_case_sensitive": "1", "ldap_auth_enabled": "0", "ldap_case_sensitive": "1", "ldap_userdirectoryid": "0", "saml_auth_enabled": "0", "saml_case_sensitive": "0", "passwd_min_length": "8", "passwd_check_rules": "15", "jit_provision_interval": "1h", "saml_jit_status": "0", "ldap_jit_status": "0", "disabled_usrgrpid": "9", "mfa_status": "0", "mfaid": "0" }, "id": 1 }CAuthentication::get() 在 ui/include/classes/api/services/CAuthentication.php 文件中。