You are viewing documentation for the development version, it may be incomplete.
Join our translation project and help translate Zabbix documentation into your native language.

authentication.get

説明

object authentication.get(object parameters)

このメソッドは、指定されたパラメーターに従って認証オブジェクトを取得することができます。

このメソッドは、Super adminタイプのユーザーのみ利用可能です。メソッドを呼び出す権限は、ユーザーの役割の設定で取り消すことができます。詳細はユーザーの役割を参照してください。

パラメーター

(object) 目的の出力を定義するパラメーター。

このメソッドはパラメーターを1つだけサポートします。

パラメーター タイプ 説明
output query これらのパラメーターについては、リファレンスの解説で解説されています。

戻り値

(object) 認証オブジェクトを返します。

リクエスト:

{
           "jsonrpc": "2.0",
           "method": "authentication.get",
           "params": {
               "output": "extend"
           },
           "id": 1
       }

レスポンス:

{
           "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() in ui/include/classes/api/services/CAuthentication.php.