[comment]: # translation:outdated

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

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

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

`object authentication.update(object authentication)`

このメソッドは、既存の認証設定を更新することができます。

::: noteclassic
このメソッドは、*Super admin*タイプのユーザーのみ利用可能です。メソッドを呼び出す権限は、ユーザーの役割の設定で取り消すことができます。詳細は[ユーザーの役割](/manual/web_interface/frontend_sections/users/user_roles)を参照してください。
:::

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

[comment]: # ({105c772c-6894664c})
### パラメーター

`(object)` 更新する[認証のプロパティ](object#authentication)。

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

[comment]: # ({f63e579c-440363c6})
### 戻り値

`(array)` 更新したパラメーターの名前を配列で返します。

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

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

[リクエスト](/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() in *ui/include/classes/api/services/CAuthentication.php*.

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