[comment]: # translation:outdated

[comment]: # ({558a988d-558a988d})
# authentication.get

[comment]: # ({/558a988d-558a988d})

[comment]: # ({eaed48ba-f493fd10})
### Opis

`object authentication.get(object parameters)`

Ta metoda umożliwia pobranie obiektu uwierzytelniania zgodnie z podanymi parametrami.

::: noteclassic
Ta metoda jest dostępna tylko dla użytkownika typu *Super admin*.
Uprawnienia do wywołania tej metody mogą zostać cofnięte w ustawieniach roli użytkownika.
Więcej informacji można znaleźć w [Rolach użytkowników](/manual/web_interface/frontend_sections/users/user_roles).
:::

[comment]: # ({/eaed48ba-f493fd10})

[comment]: # ({3a8de98a-24b20f8d})
### Parametry

`(object)` Parametry definiujące żądane dane wyjściowe.

Metoda obsługuje tylko jeden parametr.

|Parametr|[Type](/manual/api/reference_commentary#data-types)|Opis|
|--|--|------|
|output|query|Ten parametr jest opisany w [komentarzu referencyjnym](/manual/api/reference_commentary#common-get-method-parameters).|

[comment]: # ({/3a8de98a-24b20f8d})

[comment]: # ({6394c247-6394c247})
### Zwracane wartości

`(object)` Zwraca obiekt uwierzytelniania.

[comment]: # ({/6394c247-6394c247})

[comment]: # ({25dfe2fa-cad6afa3})
### Przykłady

[Żądanie](/manual/api#performing-requests):

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

Odpowiedź:

```json
{
    "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
}
```

[comment]: # ({/25dfe2fa-cad6afa3})

[comment]: # ({5f5520aa-b8be0c1f})
### Źródło

CAuthentication::get() w *ui/include/classes/api/services/CAuthentication.php*.

[comment]: # ({/5f5520aa-b8be0c1f})
