[comment]: # ({35521717-35521717})
# authentication.update

[comment]: # ({/35521717-35521717})

[comment]: # ({19c357e4-4244aae4})
### Опис

`object authentication.update(object authentication)`

Овај метод омогућава ажурирање постојећих поставки аутентификације.

::: noteclassic
Овај метод доступан је само типу корисника *Супер администратор*.
Дозволе за позивање методе могу се опозвати у подешавањима улоге корисника. Погледајте 
[User
roles](/manual/web_interface/frontend_sections/users/user_roles), 
за добијање више информација.
:::

[comment]: # ({/19c357e4-4244aae4})

[comment]: # ({105c772c-6894664c})
### Параметери

`(object)` [Authentication properties](object#authentication) за ажурирање.

[comment]: # ({/105c772c-6894664c})

[comment]: # ({f63e579c-440363c6})
### Повратне вредности

`(array)` Враћа низ са именима ажурираних параметара.

[comment]: # ({/f63e579c-440363c6})

[comment]: # ({8072648f-f95d3166})
### Примери

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

```json
{
    "jsonrpc": "2.0",
    "method": "authentication.update",
    "params": {
        "http_auth_enabled": 1,
        "http_case_sensitive": 0,
        "http_login_form": 1
    },
    "id": 1
}
```

Одговор:

```json
{
    "jsonrpc": "2.0",
    "result": [
        "http_auth_enabled",
        "http_case_sensitive",
        "http_login_form"
    ],
    "id": 1
}
```

[comment]: # ({/8072648f-f95d3166})

[comment]: # ({97fcecb8-8e7357d5})
### Извор

CAuthentication::update() у *ui/include/classes/api/services/CAuthentication.php*.

[comment]: # ({/97fcecb8-8e7357d5})
