[comment]: # translation:outdated

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

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

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

`object authentication.get(object parameters)`

Il metodo consente di recuperare l'oggetto di autenticazione in base ai parametri specificati.

::: noteclassic
Questo metodo è disponibile solo per gli utenti di tipo *Super admin*.
Le autorizzazioni per richiamare il metodo possono essere revocate nelle impostazioni del ruolo utente.
Consultare [Ruoli utente](/manual/web_interface/frontend_sections/users/user_roles) per ulteriori informazioni.
:::

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

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

`(object)` Parametri che definiscono l'output desiderato.

Il metodo supporta un solo parametro.

|Parametro|[Tipo](/manual/api/reference_commentary#data-types)|Descrizione|
|--|--|------|
|output|query|Questo parametro è descritto nel [commento di riferimento](/manual/api/reference_commentary#common-get-method-parameters).|

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

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

`(object)` Restituisce l'oggetto di autenticazione.

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

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

[Richiesta](/manual/api#performing-requests):

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

Risposta:

```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})
### Sorgente

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

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