authentication.update
説明
object authentication.update(object authentication)
このメソッドを使用すると、既存の認証設定を更新できます。
このメソッドは、Super admin ユーザータイプでのみ利用できます。 このメソッドを呼び出す権限は、ユーザー権限設定で取り消すことができます。詳細は User roles を参照してください。
パラメーター
(object) 更新する認証のプロパティ。
戻り値
(array) 更新したパラメーターの名前を配列で返します。
例
{
"jsonrpc": "2.0",
"method": "authentication.update",
"params": {
"http_auth_enabled": 1,
"http_case_sensitive": 0,
"http_login_form": 1
},
"id": 1
}
レスポンス:
{
"jsonrpc": "2.0",
"result": [
"http_auth_enabled",
"http_case_sensitive",
"http_login_form"
],
"id": 1
}
ソース
CAuthentication::update() in ui/include/classes/api/services/CAuthentication.php.