On this page
authentication.get
תיאור
object authentication.get(object parameters)
השיטה מאפשרת לאחזר אובייקט אימות לפי פרמטרים נתונים.
שיטה זו זמינה רק לסוג משתמש סופר אדמין. ניתן לבטל הרשאות להתקשר למתודה בהגדרות תפקידי המשתמש. לִרְאוֹת מִשׁתַמֵשׁ תפקידים למידע נוסף.
פרמטרים
(object) פרמטרים המגדירים את הפלט הרצוי.
השיטה תומכת בפרמטר אחד בלבד.
| פרמטר | סוג | תיאור |
|---|---|---|
| output | query | פרמטר זה משותף לכל שיטות ה-'get' המתוארות בפירוש ההתייחסות. |
החזר ערכים
(אובייקט) מחזירה אובייקט אימות.
דוגמאות
בַּקָשָׁה:
{
"jsonrpc": "2.0",
"method": "authentication.get",
"params": {
"output": "להרחיב"
},
"auth": "038e1d7b1735c6a5436ee9eae095879e",
"מזהה": 1
}
תְגוּבָה:
{
"jsonrpc": "2.0",
"תוצאה": {
"authentication_type": "0",
"http_auth_enabled": "0",
"http_login_form": "0",
"http_strip_domains": "",
"http_case_sensitive": "1",
"ldap_configured": "0",
"ldap_host": "",
"ldap_port": "389",
"ldap_base_dn": "",
"ldap_search_attribute": "",
"ldap_bind_dn": "",
"ldap_case_sensitive": "1",
"ldap_bind_password": "",
"saml_auth_enabled": "0",
"saml_idp_entityid": "",
"saml_sso_url": "",
"saml_slo_url": "",
"saml_username_attribute": "",
"saml_sp_entityid": "",
"saml_nameid_format": "",
"saml_sign_messages": "0",
"saml_sign_assertions": "0",
"saml_sign_authn_requests": "0",
"saml_sign_logout_requests": "0",
"saml_sign_logout_responses": "0",
"saml_encrypt_nameid": "0",
"saml_encrypt_assertions": "0",
"saml_case_sensitive": "0",
"passwd_min_length": "8",
"passwd_check_rules": "8"
},
"מזהה": 1
}
מקור
CAuthentication::get() בתוך ui/include/classes/api/services/CAuthentication.php.